Marketplace
BrowsePublish
Marketplace
crossplane-contrib/x-generation@v0.8.0
compositebucket.s3.aws.example.cloud

compositebucket.s3.aws.example.cloud

compositebucket.s3.aws.example.cloud
crossplane-contrib/x-generation@v0.8.0compositebucket.s3.aws.example.cloud
Type

Composition

Referenced XRD

CompositeBucket

Source Codegithub.com/crossplane-contrib/x-generation
Resources (1)

The following resources are composed to implement the referenced Composite Resource Definition (XRD).

Kind
Group
Version

No resources found.

YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: compositebucket.s3.aws.example.cloud
  creationTimestamp: null
  labels:
    example.cloud/provider: example
spec:
  compositeTypeRef:
    apiVersion: s3.aws.example.cloud/v1alpha1
    kind: CompositeBucket
  patchSets:
    - name: Name
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[crossplane.io/claim-name]
          toFieldPath: metadata.annotations[crossplane.io/external-name]
    - name: Common
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/claim-name']
          toFieldPath: metadata.labels['crossplane.io/claim-name']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/claim-namespace']
          toFieldPath: metadata.labels['crossplane.io/claim-namespace']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/composite']
          toFieldPath: metadata.labels['crossplane.io/composite']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['external-name']
          toFieldPath: metadata.labels['external-name']
          policy:
            fromFieldPath: Optional
    - name: Parameters
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: spec.deletionPolicy
          toFieldPath: spec.deletionPolicy
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.accelerateConfiguration.status
          toFieldPath: spec.forProvider.accelerateConfiguration.status
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.acl
          toFieldPath: spec.forProvider.acl
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.corsConfiguration.corsRules
          toFieldPath: spec.forProvider.corsConfiguration.corsRules
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.grantFullControl
          toFieldPath: spec.forProvider.grantFullControl
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.grantRead
          toFieldPath: spec.forProvider.grantRead
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.grantReadAcp
          toFieldPath: spec.forProvider.grantReadAcp
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.grantWrite
          toFieldPath: spec.forProvider.grantWrite
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.grantWriteAcp
          toFieldPath: spec.forProvider.grantWriteAcp
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.lifecycleConfiguration.rules
          toFieldPath: spec.forProvider.lifecycleConfiguration.rules
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.locationConstraint
          toFieldPath: spec.forProvider.locationConstraint
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucket
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucket
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketRef.name
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketRef.policy.resolution
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketRef.policy.resolve
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.matchControllerRef
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.matchControllerRef
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.matchLabels
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.matchLabels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.policy.resolution
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.policy.resolve
          toFieldPath: spec.forProvider.loggingConfiguration.targetBucketSelector.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetGrants
          toFieldPath: spec.forProvider.loggingConfiguration.targetGrants
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.loggingConfiguration.targetPrefix
          toFieldPath: spec.forProvider.loggingConfiguration.targetPrefix
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.notificationConfiguration.lambdaFunctionConfigurations
          toFieldPath: spec.forProvider.notificationConfiguration.lambdaFunctionConfigurations
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.notificationConfiguration.queueConfigurations
          toFieldPath: spec.forProvider.notificationConfiguration.queueConfigurations
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.notificationConfiguration.topicConfigurations
          toFieldPath: spec.forProvider.notificationConfiguration.topicConfigurations
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.objectLockEnabledForBucket
          toFieldPath: spec.forProvider.objectLockEnabledForBucket
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.objectOwnership
          toFieldPath: spec.forProvider.objectOwnership
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.paymentConfiguration.payer
          toFieldPath: spec.forProvider.paymentConfiguration.payer
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.publicAccessBlockConfiguration.blockPublicAcls
          toFieldPath: spec.forProvider.publicAccessBlockConfiguration.blockPublicAcls
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.publicAccessBlockConfiguration.blockPublicPolicy
          toFieldPath: spec.forProvider.publicAccessBlockConfiguration.blockPublicPolicy
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.publicAccessBlockConfiguration.ignorePublicAcls
          toFieldPath: spec.forProvider.publicAccessBlockConfiguration.ignorePublicAcls
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.publicAccessBlockConfiguration.restrictPublicBuckets
          toFieldPath: spec.forProvider.publicAccessBlockConfiguration.restrictPublicBuckets
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.role
          toFieldPath: spec.forProvider.replicationConfiguration.role
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleRef.name
          toFieldPath: spec.forProvider.replicationConfiguration.roleRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleRef.policy.resolution
          toFieldPath: spec.forProvider.replicationConfiguration.roleRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleRef.policy.resolve
          toFieldPath: spec.forProvider.replicationConfiguration.roleRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleSelector.matchControllerRef
          toFieldPath: spec.forProvider.replicationConfiguration.roleSelector.matchControllerRef
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleSelector.matchLabels
          toFieldPath: spec.forProvider.replicationConfiguration.roleSelector.matchLabels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleSelector.policy.resolution
          toFieldPath: spec.forProvider.replicationConfiguration.roleSelector.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.roleSelector.policy.resolve
          toFieldPath: spec.forProvider.replicationConfiguration.roleSelector.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.replicationConfiguration.rules
          toFieldPath: spec.forProvider.replicationConfiguration.rules
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.serverSideEncryptionConfiguration.rules
          toFieldPath: spec.forProvider.serverSideEncryptionConfiguration.rules
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.versioningConfiguration.mfaDelete
          toFieldPath: spec.forProvider.versioningConfiguration.mfaDelete
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.versioningConfiguration.status
          toFieldPath: spec.forProvider.versioningConfiguration.status
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.websiteConfiguration.errorDocument.key
          toFieldPath: spec.forProvider.websiteConfiguration.errorDocument.key
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.websiteConfiguration.indexDocument.suffix
          toFieldPath: spec.forProvider.websiteConfiguration.indexDocument.suffix
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.websiteConfiguration.redirectAllRequestsTo.hostName
          toFieldPath: spec.forProvider.websiteConfiguration.redirectAllRequestsTo.hostName
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.websiteConfiguration.redirectAllRequestsTo.protocol
          toFieldPath: spec.forProvider.websiteConfiguration.redirectAllRequestsTo.protocol
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.websiteConfiguration.routingRules
          toFieldPath: spec.forProvider.websiteConfiguration.routingRules
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.name
          toFieldPath: spec.providerConfigRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.policy.resolution
          toFieldPath: spec.providerConfigRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.policy.resolve
          toFieldPath: spec.providerConfigRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.name
          toFieldPath: spec.publishConnectionDetailsTo.configRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution
          toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve
          toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.annotations
          toFieldPath: spec.publishConnectionDetailsTo.metadata.annotations
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.labels
          toFieldPath: spec.publishConnectionDetailsTo.metadata.labels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.type
          toFieldPath: spec.publishConnectionDetailsTo.metadata.type
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.name
          toFieldPath: spec.publishConnectionDetailsTo.name
          policy:
            fromFieldPath: Optional
    - name: Labels
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/cost-reference']
          toFieldPath: metadata.labels['controlling.example.cloud/cost-reference']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/owner']
          toFieldPath: metadata.labels['controlling.example.cloud/owner']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/product']
          toFieldPath: metadata.labels['controlling.example.cloud/product']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/account']
          toFieldPath: metadata.labels['tags.example.cloud/account']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/environment']
          toFieldPath: metadata.labels['tags.example.cloud/environment']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/protection-requirement']
          toFieldPath: metadata.labels['tags.example.cloud/protection-requirement']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/repourl']
          toFieldPath: metadata.labels['tags.example.cloud/repourl']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/zone']
          toFieldPath: metadata.labels['tags.example.cloud/zone']
          policy:
            fromFieldPath: Optional
    - name: Tags
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/account]
          toFieldPath: spec.forProvider.tagging.tagSet[0].value
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/environment]
          toFieldPath: spec.forProvider.tagging.tagSet[1].value
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/protection-requirement]
          toFieldPath: spec.forProvider.tagging.tagSet[2].value
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/repourl]
          toFieldPath: spec.forProvider.tagging.tagSet[3].value
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/zone]
          toFieldPath: spec.forProvider.tagging.tagSet[4].value
          policy:
            fromFieldPath: Required
  resources:
    - name: Bucket
      base:
        apiVersion: s3.aws.crossplane.io/v1beta1
        kind: Bucket
        metadata:
          labels:
            commonLabelA: commonLabelAValue
            commonLabelB: commonLabelBValue
        spec:
          forProvider:
            tagging:
              tagSet:
                - key: tags.example.cloud/account
                - key: tags.example.cloud/environment
                - key: tags.example.cloud/protection-requirement
                - key: tags.example.cloud/repourl
                - key: tags.example.cloud/zone
                - key: commonLocalTagA
                  value: comonLocalTagAValue
                - key: commonLocalTagB
                  value: comonLocalTagBValue
                - key: commonTagA
                  value: comonTagAValue
                - key: commonTagB
                  value: comonTagBValue
          providerConfigRef:
            name: default
      patches:
        - type: PatchSet
          patchSetName: Name
        - type: PatchSet
          patchSetName: Common
        - type: PatchSet
          patchSetName: Parameters
        - type: PatchSet
          patchSetName: Labels
        - type: PatchSet
          patchSetName: Tags
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.arn
          toFieldPath: status.atProvider.arn
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: metadata.annotations["crossplane.io/external-name"]
          toFieldPath: status.uid
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.conditions
          toFieldPath: status.observed.conditions
          policy:
            fromFieldPath: Optional
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.