crossplane-contrib/x-generation@v0.10.0
compositerolepolicyattachment.iam.aws.example.cloud

compositerolepolicyattachment.iam.aws.example.cloud

compositerolepolicyattachment.iam.aws.example.cloud
crossplane-contrib/x-generation@v0.10.0compositerolepolicyattachment.iam.aws.example.cloud
Type

Composition

Referenced XRD

CompositeRolePolicyAttachment

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: compositerolepolicyattachment.iam.aws.example.cloud
  creationTimestamp: null
  labels:
    example.cloud/provider: example
spec:
  compositeTypeRef:
    apiVersion: iam.aws.example.cloud/v1alpha1
    kind: CompositeRolePolicyAttachment
  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.policyArn
          toFieldPath: spec.forProvider.policyArn
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnRef.name
          toFieldPath: spec.forProvider.policyArnRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnRef.policy.resolution
          toFieldPath: spec.forProvider.policyArnRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnRef.policy.resolve
          toFieldPath: spec.forProvider.policyArnRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnSelector.matchControllerRef
          toFieldPath: spec.forProvider.policyArnSelector.matchControllerRef
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnSelector.matchLabels
          toFieldPath: spec.forProvider.policyArnSelector.matchLabels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnSelector.policy.resolution
          toFieldPath: spec.forProvider.policyArnSelector.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.policyArnSelector.policy.resolve
          toFieldPath: spec.forProvider.policyArnSelector.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleName
          toFieldPath: spec.forProvider.roleName
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameRef.name
          toFieldPath: spec.forProvider.roleNameRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameRef.policy.resolution
          toFieldPath: spec.forProvider.roleNameRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameRef.policy.resolve
          toFieldPath: spec.forProvider.roleNameRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameSelector.matchControllerRef
          toFieldPath: spec.forProvider.roleNameSelector.matchControllerRef
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameSelector.matchLabels
          toFieldPath: spec.forProvider.roleNameSelector.matchLabels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameSelector.policy.resolution
          toFieldPath: spec.forProvider.roleNameSelector.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleNameSelector.policy.resolve
          toFieldPath: spec.forProvider.roleNameSelector.policy.resolve
          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
  resources:
    - name: RolePolicyAttachment
      base:
        apiVersion: iam.aws.crossplane.io/v1beta1
        kind: RolePolicyAttachment
        metadata:
          labels:
            commonLabelA: commonLabelAValue
            commonLabelB: commonLabelBValue
        spec:
          forProvider: {}
          providerConfigRef:
            name: default
      patches:
        - type: PatchSet
          patchSetName: Name
        - type: PatchSet
          patchSetName: Common
        - type: PatchSet
          patchSetName: Parameters
        - type: PatchSet
          patchSetName: Labels
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.attachedPolicyArn
          toFieldPath: status.atProvider.attachedPolicyArn
          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