RAM

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

API Group: aws.konfig.io/v1alpha1

RAMPermission # CLOUD CONTROL · AWS::RAM::Permission

RAMPermission manages AWS::RAM::Permission through the AWS Cloud Control API.

kubectl get rampermissions · example on GitHub

Example

# RAMPermission — RAM
# 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/ram.html#rampermission
apiVersion: aws.konfig.io/v1alpha1
kind: RAMPermission
metadata:
  name: example-rampermission
  namespace: default
spec:
  name: example-rampermission
  providerRef:
    name: example-rampermission
    region: us-east-1
  resourceType: example
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
namestringyesThe name of the permission.
policyTemplateobjectyesPolicy template for the permission.
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.
resourceTypestringyesThe resource type this permission can be used with.
tagsarray<object>—
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Read-only: reported by AWS after creation.
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.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
isResourceTypeDefaultboolean—Set to true to use this as the default permission.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
permissionTypestring—Read-only: reported by AWS after creation.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
versionstring—Version of the permission.

ResourceShare # GA

ResourceShare is the Schema for managing AWS RAM resource shares.

kubectl get resourceshares · example on GitHub

Example

# ResourceShare — RAM
# 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/ram.html#resourceshare
apiVersion: aws.konfig.io/v1alpha1
kind: ResourceShare
metadata:
  name: example-resourceshare
  namespace: default
spec:
  allowExternalPrincipals: false
  name: example-resourceshare
  permissionArns:
  - example
  principals:
  - example
  providerRef:
    name: example-resourceshare
    region: us-east-1
  resourceArns:
  - example
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
allowExternalPrincipalsboolean—AllowExternalPrincipals permits sharing with accounts outside the organization.
namestringyesName is the name of the resource share.
permissionArnsarray<string>—PermissionArns are RAM permission ARNs to associate with the share.
principalsarray<string>—Principals to share with: 12-digit account IDs, OU ARNs, organization ARNs, or IAM role/user ARNs.
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.
resourceArnsarray<string>—ResourceArns are the ARNs of the resources to share.
tagsmap<string>—Tags are AWS resource tags to apply.

Status

FieldTypeRequiredDescription
arnstring—ARN is the Amazon Resource Name of the resource share.
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.

ResourceShareInvitation # GA WIP · CROSS-ACCOUNT

STATUS: WIP.

kubectl get resourceshareinvitations · example on GitHub

Example

# ResourceShareInvitation — RAM
# 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/ram.html#resourceshareinvitation
apiVersion: aws.konfig.io/v1alpha1
kind: ResourceShareInvitation
metadata:
  name: example-resourceshareinvitation
  namespace: default
spec:
  providerRef:
    name: example-resourceshareinvitation
    region: us-east-1
  resourceShareRef:
    name: example-resourceshare

Spec

FieldTypeRequiredDescription
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.
resourceShareRefobjectyesResourceShareRef identifies the share to accept.
resourceShareRef.arnstring—ARN is a direct resource share ARN.
resourceShareRef.namestring—Name of a ResourceShare CR.
resourceShareRef.namespacestring—Namespace of the ResourceShare CR.

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.
invitationArnstring—InvitationARN is the accepted invitation, when one existed.
lastSyncTimestring—LastSyncTime is the last successful sync.
observedGenerationinteger—ObservedGeneration is the generation last reconciled.
resourceArnsarray<string>—ResourceARNs shared with this account through the share.
resourceShareArnstring—ResourceShareARN is the share that was accepted.
senderAccountIdstring—SenderAccountID owns the share.
statusstring—Status is the RAM invitation status (PENDING, ACCEPTED, ...).