Step Functions

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

API Group: aws.konfig.io/v1alpha1

Activity # GA

Activity is the Schema for managing Step Functions activities.

kubectl get activities · example on GitHub

Example

# Activity — Step Functions
# 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/sfn.html#activity
apiVersion: aws.konfig.io/v1alpha1
kind: Activity
metadata:
  name: example-activity
  namespace: default
spec:
  name: example-activity
  providerRef:
    name: example-activity
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
namestringyesName is the name of the activity.
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 metadata tags for the activity.

Status

FieldTypeRequiredDescription
activityARNstring—ActivityARN is the ARN of the activity.
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.

SFNStateMachineAlias # CLOUD CONTROL · AWS::StepFunctions::StateMachineAlias

SFNStateMachineAlias manages AWS::StepFunctions::StateMachineAlias through the AWS Cloud Control API.

kubectl get sfnstatemachinealiases · example on GitHub

Example

# SFNStateMachineAlias — Step Functions
# 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/sfn.html#sfnstatemachinealias
apiVersion: aws.konfig.io/v1alpha1
kind: SFNStateMachineAlias
metadata:
  name: example-sfnstatemachinealias
  namespace: default
spec:
  deploymentPreference:
    alarms:
    - example
    interval: 1
    percentage: 1
    stateMachineVersionArn: arn:aws:iam::123456789012:role/example-role
    type: LINEAR
  description: Managed by konfig-konector
  name: example-sfnstatemachinealias
  providerRef:
    name: example-sfnstatemachinealias
    region: us-east-1
  routingConfiguration:
  - stateMachineVersionArn: arn:aws:iam::123456789012:role/example-role
    weight: 1
  stateMachineArn: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
deploymentPreferenceobject—SFNStateMachineAliasDeploymentPreference is a nested property type of AWS::StepFunctions::StateMachineAlias.
deploymentPreference.alarmsarray<string>—A list of CloudWatch alarm names that will be monitored during the deployment.
deploymentPreference.intervalinteger—The time in minutes between each traffic shifting increment.
deploymentPreference.percentageinteger—The percentage of traffic to shift to the new version in each increment.
deploymentPreference.stateMachineVersionArnstringyes
deploymentPreference.typeenumyesThe type of deployment to perform. Allowed: LINEAR, ALL_AT_ONCE, CANARY
descriptionstring—An optional description of the alias.
namestring—The alias name.
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.
routingConfigurationarray<object>—
routingConfiguration[].stateMachineVersionArnstringyesThe Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
routingConfiguration[].weightintegeryesThe percentage of traffic you want to route to the state machine version.
stateMachineArnstring—

Status

FieldTypeRequiredDescription
arnstring—The ARN of the alias.
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.
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.

SFNStateMachineVersion # CLOUD CONTROL · AWS::StepFunctions::StateMachineVersion

SFNStateMachineVersion manages AWS::StepFunctions::StateMachineVersion through the AWS Cloud Control API.

kubectl get sfnstatemachineversions · example on GitHub

Example

# SFNStateMachineVersion — Step Functions
# 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/sfn.html#sfnstatemachineversion
apiVersion: aws.konfig.io/v1alpha1
kind: SFNStateMachineVersion
metadata:
  name: example-sfnstatemachineversion
  namespace: default
spec:
  description: Managed by konfig-konector
  providerRef:
    name: example-sfnstatemachineversion
    region: us-east-1
  stateMachineArn: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
descriptionstring—Create-only in AWS: changing it requires replacing 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.
stateMachineArnstringyesCreate-only in AWS: changing it requires replacing the resource.
stateMachineRevisionIdstring—Create-only in AWS: changing it requires replacing the resource.

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.
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.

StateMachine # GA

StateMachine is the Schema for managing Step Functions state machines.

kubectl get statemachines · example on GitHub

Example

# StateMachine — Step Functions
# 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/sfn.html#statemachine
apiVersion: aws.konfig.io/v1alpha1
kind: StateMachine
metadata:
  name: example-statemachine
  namespace: default
spec:
  definition: example
  name: example-statemachine
  providerRef:
    name: example-statemachine
    region: us-east-1
  roleARN: arn:aws:iam::123456789012:role/example-role
  tags:
    environment: dev
    team: platform
  type: STANDARD

Spec

FieldTypeRequiredDescription
definitionstringyesDefinition is the Amazon States Language definition (JSON string).
namestringyesName is the name of the state machine.
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.
roleARNstringyesRoleARN is the IAM role ARN for executing the state machine.
tagsmap<string>—Tags are metadata tags for the state machine.
typeenum—Type is STANDARD or EXPRESS. Allowed: STANDARD, EXPRESS

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.
stateMachineARNstring—StateMachineARN is the ARN of the state machine.
statusstring—Status is the current status of the state machine (ACTIVE, DELETING).