Policy is the Schema for the Policies API
Type
CRD
Group
iot.aws.crossplane.io
Version
v1alpha1
apiVersion: iot.aws.crossplane.io/v1alpha1
kind: Policy
PolicySpec defines the desired state of Policy
PolicyParameters defines the desired state of Policy
Metadata which can be used to manage the policy. For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
PolicyStatus defines the observed state of Policy.
PolicyObservation defines the observed state of Policy
Conditions of the resource.
example-policy
apiVersion: iot.aws.crossplane.io/v1alpha1
kind: Policy
metadata:
name: example-policy
spec:
forProvider:
policyDocument: >
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": "iot:Connect",
"Resource": "arn:aws:iot:us-east-1:609897127049:client/replaceWithAClientId"
}
]
}
region: us-east-1
providerConfigRef:
name: example