MultiRegionAccessPointPolicy is the Schema for the MultiRegionAccessPointPolicys API. Provides a resource to manage an S3 Multi-Region Access Point access control policy.
Type
CRD
Group
s3control.aws.upbound.io
Version
v1beta1
apiVersion: s3control.aws.upbound.io/v1beta1
kind: MultiRegionAccessPointPolicy
MultiRegionAccessPointPolicySpec defines the desired state of MultiRegionAccessPointPolicy
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.
MultiRegionAccessPointPolicyStatus defines the observed state of MultiRegionAccessPointPolicy.
No description provided.
Conditions of the resource.
example
apiVersion: s3control.aws.upbound.io/v1beta1
kind: MultiRegionAccessPointPolicy
metadata:
annotations:
meta.upbound.io/example-id: s3control/v1beta1/multiregionaccesspointpolicy
upjet.upbound.io/manual-intervention: Requires manual replacing
{aws_s3control_multi_region_access_point.example.alias} - randomly
generated alias could not to add automatically
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
details:
- name: example
policy: >-
${jsonencode({
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "Example",
"Effect" : "Allow",
"Principal" : {
"AWS" : "${data.aws_account_id}"
},
"Action" : ["s3:GetObject", "s3:PutObject"],
"Resource" : "arn:aws:s3::${data.aws_account_id}:accesspoint/${aws_s3control_multi_region_access_point.example.alias}/object/*"
}
]
})}
region: us-west-1
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.