crossplane-contrib/x-generation@v0.10.0
compositekey.kms.aws.example.cloud

compositekey.kms.aws.example.cloud

compositekey.kms.aws.example.cloud
crossplane-contrib/x-generation@v0.10.0compositekey.kms.aws.example.cloud
Type

Composition

Referenced XRD

CompositeKey

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: compositekey.kms.aws.example.cloud
  creationTimestamp: null
  labels:
    example.cloud/provider: example
spec:
  compositeTypeRef:
    apiVersion: kms.aws.example.cloud/v1alpha1
    kind: CompositeKey
  patchSets:
    - name: Name
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[crossplane.io/claim-name]
          toFieldPath: metadata.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.bypassPolicyLockoutSafetyCheck
          toFieldPath: spec.forProvider.bypassPolicyLockoutSafetyCheck
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.customKeyStoreID
          toFieldPath: spec.forProvider.customKeyStoreID
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.customerMasterKeySpec
          toFieldPath: spec.forProvider.customerMasterKeySpec
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.description
          toFieldPath: spec.forProvider.description
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.enabled
          toFieldPath: spec.forProvider.enabled
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.keySpec
          toFieldPath: spec.forProvider.keySpec
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.keyUsage
          toFieldPath: spec.forProvider.keyUsage
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.multiRegion
          toFieldPath: spec.forProvider.multiRegion
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.origin
          toFieldPath: spec.forProvider.origin
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.pendingWindowInDays
          toFieldPath: spec.forProvider.pendingWindowInDays
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policy
          toFieldPath: spec.forProvider.policy
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.region
          toFieldPath: spec.forProvider.region
          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.tags[0].tagValue
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/environment]
          toFieldPath: spec.forProvider.tags[1].tagValue
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/protection-requirement]
          toFieldPath: spec.forProvider.tags[2].tagValue
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/repourl]
          toFieldPath: spec.forProvider.tags[3].tagValue
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[tags.example.cloud/zone]
          toFieldPath: spec.forProvider.tags[4].tagValue
          policy:
            fromFieldPath: Required
  resources:
    - name: Key
      base:
        apiVersion: kms.aws.crossplane.io/v1alpha1
        kind: Key
        metadata:
          labels:
            commonLabelA: commonLabelAValue
            commonLabelB: commonLabelBValue
        spec:
          forProvider:
            enableKeyRotation: true
            tags:
              - tagKey: tags.example.cloud/account
              - tagKey: tags.example.cloud/environment
              - tagKey: tags.example.cloud/protection-requirement
              - tagKey: tags.example.cloud/repourl
              - tagKey: tags.example.cloud/zone
              - tagKey: commonLocalTagA
                tagValue: comonLocalTagAValue
              - tagKey: commonLocalTagB
                tagValue: comonLocalTagBValue
              - tagKey: commonTagA
                tagValue: comonTagAValue
              - tagKey: commonTagB
                tagValue: 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: status.atProvider.awsAccountID
          toFieldPath: status.atProvider.awsAccountID
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.cloudHsmClusterID
          toFieldPath: status.atProvider.cloudHsmClusterID
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.creationDate
          toFieldPath: status.atProvider.creationDate
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.deletionDate
          toFieldPath: status.atProvider.deletionDate
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.enabled
          toFieldPath: status.atProvider.enabled
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.encryptionAlgorithms
          toFieldPath: status.atProvider.encryptionAlgorithms
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.expirationModel
          toFieldPath: status.atProvider.expirationModel
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.keyID
          toFieldPath: status.atProvider.keyID
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.keyManager
          toFieldPath: status.atProvider.keyManager
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.keyState
          toFieldPath: status.atProvider.keyState
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.multiRegionConfiguration.multiRegionKeyType
          toFieldPath: status.atProvider.multiRegionConfiguration.multiRegionKeyType
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.multiRegionConfiguration.primaryKey.arn
          toFieldPath: status.atProvider.multiRegionConfiguration.primaryKey.arn
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.multiRegionConfiguration.primaryKey.region
          toFieldPath: status.atProvider.multiRegionConfiguration.primaryKey.region
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.multiRegionConfiguration.replicaKeys
          toFieldPath: status.atProvider.multiRegionConfiguration.replicaKeys
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.pendingDeletionWindowInDays
          toFieldPath: status.atProvider.pendingDeletionWindowInDays
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.signingAlgorithms
          toFieldPath: status.atProvider.signingAlgorithms
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.validTo
          toFieldPath: status.atProvider.validTo
          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
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions