Organizations

6 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

OrganizationsAccount # GA

OrganizationsAccount is the Schema for managing AWS Organizations member accounts.

kubectl get organizationsaccounts · example on GitHub

Example

# OrganizationsAccount — Organizations
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/organizations.html#organizationsaccount
apiVersion: aws.konfig.io/v1alpha1
kind: OrganizationsAccount
metadata:
  name: example-organizationsaccount
  namespace: default
spec:
  accountName: example-organizationsaccount
  closeOnDelete: false
  email: ops@example.com
  iamUserAccessToBilling: ALLOW
  parentRef:
    name: example-parent
  providerRef:
    name: example-organizationsaccount
    region: us-east-1
  roleName: example-organizationsaccount
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
accountNamestringyesAccountName is the friendly name of the member account.
closeOnDeleteboolean—CloseOnDelete requests that the AWS account be closed (CloseAccount) when this CR is deleted.
emailstringyesEmail is the email address of the account owner.
iamUserAccessToBillingenum—IAMUserAccessToBilling controls whether IAM users in the new account can access billing information. Allowed: ALLOW, DENY
parentIdstring—ParentID is the root (r-...) or OU (ou-...) ID to move the account into after creation via MoveAccount.
parentRefobject—ParentRef references an OrganizationsOU CR to move the account into after creation.
parentRef.namestring—Name of the resource in the same namespace.
parentRef.namespacestring—Namespace of the resource.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
roleNamestring—RoleName is the name of the IAM role created in the new account that grants the management account administrator access.
tagsmap<string>—Tags are AWS resource tags to apply to the account.

Status

FieldTypeRequiredDescription
accountIdstring—AccountID is the 12-digit AWS account ID once creation succeeds.
arnstring—ARN is the Amazon Resource Name of the account.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
createAccountRequestIdstring—CreateAccountRequestID is the CreateAccount request ID (car-...) used to poll DescribeCreateAccountStatus while creation is in progress.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
statestring—State is the last observed CreateAccount state (IN_PROGRESS, SUCCEEDED, or FAILED).

OrganizationsOU # GA

OrganizationsOU is the Schema for managing AWS Organizations organizational units.

kubectl get organizationsous · example on GitHub

Example

# OrganizationsOU — Organizations
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/organizations.html#organizationsou
apiVersion: aws.konfig.io/v1alpha1
kind: OrganizationsOU
metadata:
  name: example-organizationsou
  namespace: default
spec:
  name: example-organizationsou
  parentRef:
    name: example-parent
  providerRef:
    name: example-organizationsou
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
namestringyesName is the friendly name of the organizational unit.
parentIdstring—ParentID is the ID of the parent root (r-...) or OU (ou-...) to create this OU under.
parentRefobject—ParentRef references another OrganizationsOU CR to use as the parent.
parentRef.namestring—Name of the resource in the same namespace.
parentRef.namespacestring—Namespace of the resource.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply to the OU.

Status

FieldTypeRequiredDescription
arnstring—ARN is the Amazon Resource Name of the organizational unit.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
ouIdstring—OUID is the unique identifier (ou-...) of the organizational unit.

OrganizationsOrganization # CLOUD CONTROL · AWS::Organizations::Organization ⚠ DESTRUCTIVE SCOPE

Caution, destructive scope: organization-wide: creating or deleting this affects every member account. Provided for completeness; do not use from application namespaces. Restrict with AWSProvider.allowedNamespaces and RBAC. OrganizationsOrganization manages AWS::Organizations::Organization through the AWS Cloud Control API.

kubectl get organizationsorganizations · example on GitHub

Example

# OrganizationsOrganization — Organizations
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/organizations.html#organizationsorganization
apiVersion: aws.konfig.io/v1alpha1
kind: OrganizationsOrganization
metadata:
  name: example-organizationsorganization
  namespace: default
spec:
  featureSet: ALL
  providerRef:
    name: example-organizationsorganization
    region: us-east-1

Spec

FieldTypeRequiredDescription
featureSetenum—Specifies the feature set supported by the new organization. Allowed: ALL, CONSOLIDATED_BILLING
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
arnstring—The Amazon Resource Name (ARN) of an organization.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
idstring—The unique identifier (ID) of an organization.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
managementAccountArnstring—The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
managementAccountEmailstring—The email address that is associated with the AWS account that is designated as the management account for the organization.
managementAccountIdstring—The unique identifier (ID) of the management account of an organization.
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
rootIdstring—The unique identifier (ID) for the root.

OrganizationsPolicy # GA

OrganizationsPolicy is the Schema for managing AWS Organizations policies.

kubectl get organizationspolicies · example on GitHub

Example

# OrganizationsPolicy — Organizations
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/organizations.html#organizationspolicy
apiVersion: aws.konfig.io/v1alpha1
kind: OrganizationsPolicy
metadata:
  name: example-organizationspolicy
  namespace: default
spec:
  content: example
  description: Managed by konfig-konector
  name: example-organizationspolicy
  providerRef:
    name: example-organizationspolicy
    region: us-east-1
  tags:
    environment: dev
    team: platform
  type: SERVICE_CONTROL_POLICY

Spec

FieldTypeRequiredDescription
contentstringyesContent is the policy document as JSON text.
descriptionstring—Description is an optional description for the policy.
namestringyesName is the friendly name of the policy.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply to the policy.
typeenumyesType is the policy type. Allowed: SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY

Status

FieldTypeRequiredDescription
arnstring—ARN is the Amazon Resource Name of the policy.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
policyIdstring—PolicyID is the unique identifier (p-...) of the policy.

OrganizationsPolicyAttachment # GA

OrganizationsPolicyAttachment is the Schema for managing AWS Organizations policy attachments.

kubectl get organizationspolicyattachments · example on GitHub

Example

# OrganizationsPolicyAttachment — Organizations
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/organizations.html#organizationspolicyattachment
apiVersion: aws.konfig.io/v1alpha1
kind: OrganizationsPolicyAttachment
metadata:
  name: example-organizationspolicyattachment
  namespace: default
spec:
  policyRef:
    name: example-organizationspolicyattachment
  providerRef:
    name: example-organizationspolicyattachment
    region: us-east-1
  targetId: example-id

Spec

FieldTypeRequiredDescription
policyRefobjectyesPolicyRef references the policy to attach.
policyRef.namestring—Name of an OrganizationsPolicy CR in the same namespace.
policyRef.policyIdstring—PolicyID is a direct AWS Organizations policy ID (p-...).
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
targetIdstringyesTargetID is the root ID (r-...), OU ID (ou-...), or 12-digit account ID to attach the policy to.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
policyIdstring—PolicyID is the resolved AWS policy ID that was attached.
targetIdstring—TargetID is the target the policy was attached to.

OrganizationsResourcePolicy # CLOUD CONTROL · AWS::Organizations::ResourcePolicy ⚠ DESTRUCTIVE SCOPE

Caution, destructive scope: organization-wide resource policy. Provided for completeness; do not use from application namespaces. Restrict with AWSProvider.allowedNamespaces and RBAC. OrganizationsResourcePolicy manages AWS::Organizations::ResourcePolicy through the AWS Cloud Control API.

kubectl get organizationsresourcepolicies · example on GitHub

Example

# OrganizationsResourcePolicy — Organizations
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/organizations.html#organizationsresourcepolicy
apiVersion: aws.konfig.io/v1alpha1
kind: OrganizationsResourcePolicy
metadata:
  name: example-organizationsresourcepolicy
  namespace: default
spec:
  providerRef:
    name: example-organizationsresourcepolicy
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
contentobjectyesThe policy document.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—A list of tags that you want to attach to the resource policy
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—The Amazon Resource Name (ARN) of the resource policy.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
idstring—The unique identifier (ID) associated with this resource policy.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.