RolePolicyAttachment is the Schema for the RolePolicyAttachments API. Attaches a Managed IAM Policy to an IAM role
Type
CRD
Group
iam.aws.upbound.io
Version
v1beta1
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
RolePolicyAttachmentSpec defines the desired state of RolePolicyAttachment
No description provided.
Reference to a Policy to populate policyArn.
Policies for referencing.
Selector for a Policy to populate policyArn.
Policies for selection.
Reference to a Role to populate role.
Policies for referencing.
Selector for a Role to populate role.
Policies for selection.
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.
RolePolicyAttachmentStatus defines the observed state of RolePolicyAttachment.
No description provided.
Conditions of the resource.
test-attach
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
annotations:
meta.upbound.io/example-id: configservice/v1beta1/awsconfigurationrecorderstatus
labels:
testing.upbound.io/example-name: p
name: test-attach
spec:
forProvider:
policyArnRef:
name: test-recorder-policy
roleRef:
name: test-role
sample-node-policy-3
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
name: sample-node-policy-3
spec:
forProvider:
policyArn: arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly
roleRef:
name: sample-node-role
sample-fargate-policy
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
name: sample-fargate-policy
spec:
forProvider:
policyArn: arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy
roleRef:
name: sample-fargate-role
sample-node-policy
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
name: sample-node-policy
spec:
forProvider:
policyArn: arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy
roleRef:
name: sample-node-role
sample-role-attach
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
annotations:
upjet.upbound.io/manual-intervention: This resource is a dependency of
ClusterRoleAssociation, which needs manual intervention.
name: sample-role-attach
spec:
forProvider:
policyArnRef:
name: sample-s3-policy
roleRef:
name: sample-db-role
sample-cluster-policy
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
name: sample-cluster-policy
spec:
forProvider:
policyArn: arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
roleRef:
name: sample-eks-cluster
test-attach
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
annotations:
meta.upbound.io/example-id: configservice/v1beta1/deliverychannel
labels:
testing.upbound.io/example-name: p
name: test-attach
spec:
forProvider:
policyArnRef:
name: test-recorder-policy
roleRef:
name: test-role
example
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
labels:
testing.upbound.io/example-name: vault
name: example
spec:
forProvider:
policyArn: arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup
roleSelector:
matchLabels:
testing.upbound.io/example-name: vault
sample-policy-attachment
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
labels:
testing.upbound.io/example-name: role
name: sample-policy-attachment
spec:
forProvider:
policyArnSelector:
matchLabels:
testing.upbound.io/example-name: role
roleSelector:
matchLabels:
testing.upbound.io/example-name: role
example
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
annotations:
meta.upbound.io/example-id: deploy/v1beta1/deploymentgroup
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
policyArn: arn:aws:iam::aws:policy/service-role/AWSCodeDeployRole
roleSelector:
matchLabels:
testing.upbound.io/example-name: example
glue
apiVersion: iam.aws.upbound.io/v1beta1
kind: RolePolicyAttachment
metadata:
labels:
testing.upbound.io/example-name: glue
name: glue
spec:
forProvider:
policyArnSelector:
matchLabels:
testing.upbound.io/example-name: glue-policy
roleSelector:
matchLabels:
testing.upbound.io/example-name: glue-role
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.