v1beta1

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=sfn.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "sfn.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Activity_Kind             = "Activity"
	Activity_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Activity_Kind}.String()
	Activity_KindAPIVersion   = Activity_Kind + "." + CRDGroupVersion.String()
	Activity_GroupVersionKind = CRDGroupVersion.WithKind(Activity_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	StateMachine_Kind             = "StateMachine"
	StateMachine_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StateMachine_Kind}.String()
	StateMachine_KindAPIVersion   = StateMachine_Kind + "." + CRDGroupVersion.String()
	StateMachine_GroupVersionKind = CRDGroupVersion.WithKind(StateMachine_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ActivitySpec   `json:"spec"`
	Status            ActivityStatus `json:"status,omitempty"`
}

Activity is the Schema for the Activitys API. Provides a Step Function Activity resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Activity) DeepCopy

func (in *Activity) DeepCopy() *Activity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Activity.

func (*Activity) DeepCopyInto

func (in *Activity) DeepCopyInto(out *Activity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Activity) DeepCopyObject

func (in *Activity) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Activity) GetCondition

func (mg *Activity) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Activity.

func (*Activity) GetConnectionDetailsMapping

func (tr *Activity) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Activity

func (*Activity) GetDeletionPolicy

func (mg *Activity) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Activity.

func (*Activity) GetID

func (tr *Activity) GetID() string

GetID returns ID of underlying Terraform resource of this Activity

func (*Activity) GetInitParameters added in v0.38.0

func (tr *Activity) GetInitParameters() (map[string]any, error)

GetInitParameters of this Activity

func (*Activity) GetManagementPolicies added in v0.38.0

func (mg *Activity) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Activity.

func (*Activity) GetMergedParameters added in v0.44.0

func (tr *Activity) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Activity

func (*Activity) GetObservation

func (tr *Activity) GetObservation() (map[string]any, error)

GetObservation of this Activity

func (*Activity) GetParameters

func (tr *Activity) GetParameters() (map[string]any, error)

GetParameters of this Activity

func (*Activity) GetProviderConfigReference

func (mg *Activity) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Activity.

func (*Activity) GetPublishConnectionDetailsTo

func (mg *Activity) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Activity.

func (*Activity) GetTerraformResourceType

func (mg *Activity) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Activity

func (*Activity) GetTerraformSchemaVersion

func (tr *Activity) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Activity) GetWriteConnectionSecretToReference

func (mg *Activity) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Activity.

func (*Activity) Hub added in v0.47.2

func (tr *Activity) Hub()

Hub marks this type as a conversion hub.

func (*Activity) LateInitialize

func (tr *Activity) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Activity using its observed tfState. returns True if there are any spec changes for the resource.

func (*Activity) ResolveReferences added in v1.15.0

func (mg *Activity) ResolveReferences(ctx context.Context, c client.Reader) error

func (*Activity) SetConditions

func (mg *Activity) SetConditions(c ...xpv1.Condition)

SetConditions of this Activity.

func (*Activity) SetDeletionPolicy

func (mg *Activity) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Activity.

func (*Activity) SetManagementPolicies added in v0.38.0

func (mg *Activity) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Activity.

func (*Activity) SetObservation

func (tr *Activity) SetObservation(obs map[string]any) error

SetObservation for this Activity

func (*Activity) SetParameters

func (tr *Activity) SetParameters(params map[string]any) error

SetParameters for this Activity

func (*Activity) SetProviderConfigReference

func (mg *Activity) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Activity.

func (*Activity) SetPublishConnectionDetailsTo

func (mg *Activity) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Activity.

func (*Activity) SetWriteConnectionSecretToReference

func (mg *Activity) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Activity.

type ActivityEncryptionConfigurationInitParameters added in v1.15.0

type ActivityEncryptionConfigurationInitParameters struct {

	// Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.
	KMSDataKeyReusePeriodSeconds *float64 `json:"kmsDataKeyReusePeriodSeconds,omitempty" tf:"kms_data_key_reuse_period_seconds,omitempty"`

	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see KeyId in the KMS documentation.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// The encryption option specified for the activity. Valid values: AWS_KMS_KEY, CUSTOMER_MANAGED_KMS_KEY
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ActivityEncryptionConfigurationInitParameters) DeepCopy added in v1.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityEncryptionConfigurationInitParameters.

func (*ActivityEncryptionConfigurationInitParameters) DeepCopyInto added in v1.15.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityEncryptionConfigurationObservation added in v1.15.0

type ActivityEncryptionConfigurationObservation struct {

	// Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.
	KMSDataKeyReusePeriodSeconds *float64 `json:"kmsDataKeyReusePeriodSeconds,omitempty" tf:"kms_data_key_reuse_period_seconds,omitempty"`

	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see KeyId in the KMS documentation.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// The encryption option specified for the activity. Valid values: AWS_KMS_KEY, CUSTOMER_MANAGED_KMS_KEY
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ActivityEncryptionConfigurationObservation) DeepCopy added in v1.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityEncryptionConfigurationObservation.

func (*ActivityEncryptionConfigurationObservation) DeepCopyInto added in v1.15.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityEncryptionConfigurationParameters added in v1.15.0

type ActivityEncryptionConfigurationParameters struct {

	// Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.
	// +kubebuilder:validation:Optional
	KMSDataKeyReusePeriodSeconds *float64 `json:"kmsDataKeyReusePeriodSeconds,omitempty" tf:"kms_data_key_reuse_period_seconds,omitempty"`

	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see KeyId in the KMS documentation.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// The encryption option specified for the activity. Valid values: AWS_KMS_KEY, CUSTOMER_MANAGED_KMS_KEY
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ActivityEncryptionConfigurationParameters) DeepCopy added in v1.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityEncryptionConfigurationParameters.

func (*ActivityEncryptionConfigurationParameters) DeepCopyInto added in v1.15.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityInitParameters added in v0.38.0

type ActivityInitParameters struct {

	// Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section Data at rest encyption in the AWS Step Functions User Guide.
	EncryptionConfiguration *ActivityEncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ActivityInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityInitParameters.

func (*ActivityInitParameters) DeepCopyInto added in v0.38.0

func (in *ActivityInitParameters) DeepCopyInto(out *ActivityInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityList

type ActivityList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Activity `json:"items"`
}

ActivityList contains a list of Activitys

func (*ActivityList) DeepCopy

func (in *ActivityList) DeepCopy() *ActivityList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityList.

func (*ActivityList) DeepCopyInto

func (in *ActivityList) DeepCopyInto(out *ActivityList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ActivityList) DeepCopyObject

func (in *ActivityList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ActivityList) GetItems

func (l *ActivityList) GetItems() []resource.Managed

GetItems of this ActivityList.

type ActivityObservation

type ActivityObservation struct {

	// The date the activity was created.
	CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"`

	// Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section Data at rest encyption in the AWS Step Functions User Guide.
	EncryptionConfiguration *ActivityEncryptionConfigurationObservation `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// The Amazon Resource Name (ARN) that identifies the created activity.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*ActivityObservation) DeepCopy

func (in *ActivityObservation) DeepCopy() *ActivityObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityObservation.

func (*ActivityObservation) DeepCopyInto

func (in *ActivityObservation) DeepCopyInto(out *ActivityObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityParameters

type ActivityParameters struct {

	// Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section Data at rest encyption in the AWS Step Functions User Guide.
	// +kubebuilder:validation:Optional
	EncryptionConfiguration *ActivityEncryptionConfigurationParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ActivityParameters) DeepCopy

func (in *ActivityParameters) DeepCopy() *ActivityParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityParameters.

func (*ActivityParameters) DeepCopyInto

func (in *ActivityParameters) DeepCopyInto(out *ActivityParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivitySpec

type ActivitySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ActivityParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ActivityInitParameters `json:"initProvider,omitempty"`
}

ActivitySpec defines the desired state of Activity

func (*ActivitySpec) DeepCopy

func (in *ActivitySpec) DeepCopy() *ActivitySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivitySpec.

func (*ActivitySpec) DeepCopyInto

func (in *ActivitySpec) DeepCopyInto(out *ActivitySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityStatus

type ActivityStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ActivityObservation `json:"atProvider,omitempty"`
}

ActivityStatus defines the observed state of Activity.

func (*ActivityStatus) DeepCopy

func (in *ActivityStatus) DeepCopy() *ActivityStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityStatus.

func (*ActivityStatus) DeepCopyInto

func (in *ActivityStatus) DeepCopyInto(out *ActivityStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EncryptionConfigurationInitParameters added in v1.15.0

type EncryptionConfigurationInitParameters struct {

	// Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when type is AWS_OWNED_KEY.
	KMSDataKeyReusePeriodSeconds *float64 `json:"kmsDataKeyReusePeriodSeconds,omitempty" tf:"kms_data_key_reuse_period_seconds,omitempty"`

	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see KeyId in the KMS documentation.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// The encryption option specified for the state machine. Valid values: AWS_OWNED_KEY, CUSTOMER_MANAGED_KMS_KEY
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionConfigurationInitParameters) DeepCopy added in v1.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigurationInitParameters.

func (*EncryptionConfigurationInitParameters) DeepCopyInto added in v1.15.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EncryptionConfigurationObservation added in v1.15.0

type EncryptionConfigurationObservation struct {

	// Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when type is AWS_OWNED_KEY.
	KMSDataKeyReusePeriodSeconds *float64 `json:"kmsDataKeyReusePeriodSeconds,omitempty" tf:"kms_data_key_reuse_period_seconds,omitempty"`

	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see KeyId in the KMS documentation.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// The encryption option specified for the state machine. Valid values: AWS_OWNED_KEY, CUSTOMER_MANAGED_KMS_KEY
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionConfigurationObservation) DeepCopy added in v1.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigurationObservation.

func (*EncryptionConfigurationObservation) DeepCopyInto added in v1.15.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EncryptionConfigurationParameters added in v1.15.0

type EncryptionConfigurationParameters struct {

	// Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when type is AWS_OWNED_KEY.
	// +kubebuilder:validation:Optional
	KMSDataKeyReusePeriodSeconds *float64 `json:"kmsDataKeyReusePeriodSeconds,omitempty" tf:"kms_data_key_reuse_period_seconds,omitempty"`

	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see KeyId in the KMS documentation.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// The encryption option specified for the state machine. Valid values: AWS_OWNED_KEY, CUSTOMER_MANAGED_KMS_KEY
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionConfigurationParameters) DeepCopy added in v1.15.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigurationParameters.

func (*EncryptionConfigurationParameters) DeepCopyInto added in v1.15.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoggingConfigurationInitParameters added in v0.38.0

type LoggingConfigurationInitParameters struct {

	// Determines whether execution data is included in your log. When set to false, data is excluded.
	IncludeExecutionData *bool `json:"includeExecutionData,omitempty" tf:"include_execution_data,omitempty"`

	// Defines which category of execution history events are logged. Valid values: ALL, ERROR, FATAL, OFF
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with :*
	LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"`
}

func (*LoggingConfigurationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationInitParameters.

func (*LoggingConfigurationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoggingConfigurationObservation

type LoggingConfigurationObservation struct {

	// Determines whether execution data is included in your log. When set to false, data is excluded.
	IncludeExecutionData *bool `json:"includeExecutionData,omitempty" tf:"include_execution_data,omitempty"`

	// Defines which category of execution history events are logged. Valid values: ALL, ERROR, FATAL, OFF
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with :*
	LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"`
}

func (*LoggingConfigurationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationObservation.

func (*LoggingConfigurationObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoggingConfigurationParameters

type LoggingConfigurationParameters struct {

	// Determines whether execution data is included in your log. When set to false, data is excluded.
	// +kubebuilder:validation:Optional
	IncludeExecutionData *bool `json:"includeExecutionData,omitempty" tf:"include_execution_data,omitempty"`

	// Defines which category of execution history events are logged. Valid values: ALL, ERROR, FATAL, OFF
	// +kubebuilder:validation:Optional
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with :*
	// +kubebuilder:validation:Optional
	LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"`
}

func (*LoggingConfigurationParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationParameters.

func (*LoggingConfigurationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StateMachine

type StateMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || (has(self.initProvider) && has(self.initProvider.definition))",message="spec.forProvider.definition is a required parameter"
	Spec   StateMachineSpec   `json:"spec"`
	Status StateMachineStatus `json:"status,omitempty"`
}

StateMachine is the Schema for the StateMachines API. Provides a Step Function State Machine resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*StateMachine) ConvertFrom added in v1.7.0

func (tr *StateMachine) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the StateMachine type.

func (*StateMachine) ConvertTo added in v1.7.0

func (tr *StateMachine) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this StateMachine to the hub type.

func (*StateMachine) DeepCopy

func (in *StateMachine) DeepCopy() *StateMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachine.

func (*StateMachine) DeepCopyInto

func (in *StateMachine) DeepCopyInto(out *StateMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StateMachine) DeepCopyObject

func (in *StateMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*StateMachine) GetCondition

func (mg *StateMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this StateMachine.

func (*StateMachine) GetConnectionDetailsMapping

func (tr *StateMachine) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this StateMachine

func (*StateMachine) GetDeletionPolicy

func (mg *StateMachine) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this StateMachine.

func (*StateMachine) GetID

func (tr *StateMachine) GetID() string

GetID returns ID of underlying Terraform resource of this StateMachine

func (*StateMachine) GetInitParameters added in v0.38.0

func (tr *StateMachine) GetInitParameters() (map[string]any, error)

GetInitParameters of this StateMachine

func (*StateMachine) GetManagementPolicies added in v0.38.0

func (mg *StateMachine) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this StateMachine.

func (*StateMachine) GetMergedParameters added in v0.44.0

func (tr *StateMachine) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this StateMachine

func (*StateMachine) GetObservation

func (tr *StateMachine) GetObservation() (map[string]any, error)

GetObservation of this StateMachine

func (*StateMachine) GetParameters

func (tr *StateMachine) GetParameters() (map[string]any, error)

GetParameters of this StateMachine

func (*StateMachine) GetProviderConfigReference

func (mg *StateMachine) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this StateMachine.

func (*StateMachine) GetPublishConnectionDetailsTo

func (mg *StateMachine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this StateMachine.

func (*StateMachine) GetTerraformResourceType

func (mg *StateMachine) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StateMachine

func (*StateMachine) GetTerraformSchemaVersion

func (tr *StateMachine) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StateMachine) GetWriteConnectionSecretToReference

func (mg *StateMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this StateMachine.

func (*StateMachine) LateInitialize

func (tr *StateMachine) LateInitialize(attrs []byte) (bool, error)

LateInitialize this StateMachine using its observed tfState. returns True if there are any spec changes for the resource.

func (*StateMachine) ResolveReferences

func (mg *StateMachine) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this StateMachine.

func (*StateMachine) SetConditions

func (mg *StateMachine) SetConditions(c ...xpv1.Condition)

SetConditions of this StateMachine.

func (*StateMachine) SetDeletionPolicy

func (mg *StateMachine) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this StateMachine.

func (*StateMachine) SetManagementPolicies added in v0.38.0

func (mg *StateMachine) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this StateMachine.

func (*StateMachine) SetObservation

func (tr *StateMachine) SetObservation(obs map[string]any) error

SetObservation for this StateMachine

func (*StateMachine) SetParameters

func (tr *StateMachine) SetParameters(params map[string]any) error

SetParameters for this StateMachine

func (*StateMachine) SetProviderConfigReference

func (mg *StateMachine) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this StateMachine.

func (*StateMachine) SetPublishConnectionDetailsTo

func (mg *StateMachine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this StateMachine.

func (*StateMachine) SetWriteConnectionSecretToReference

func (mg *StateMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this StateMachine.

type StateMachineInitParameters added in v0.38.0

type StateMachineInitParameters struct {

	// The Amazon States Language definition of the state machine.
	Definition *string `json:"definition,omitempty" tf:"definition,omitempty"`

	// Defines what encryption configuration is used to encrypt data in the State Machine. For more information see [TBD] in the AWS Step Functions User Guide.
	EncryptionConfiguration []EncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// Defines what execution history events are logged and where they are logged. The logging_configuration parameter is only valid when type is set to EXPRESS. Defaults to OFF. For more information see Logging Express Workflows and Log Levels in the AWS Step Functions User Guide.
	LoggingConfiguration []LoggingConfigurationInitParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"`

	// Set to true to publish a version of the state machine during creation. Default: false.
	Publish *bool `json:"publish,omitempty" tf:"publish,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Selects whether AWS X-Ray tracing is enabled.
	TracingConfiguration []TracingConfigurationInitParameters `json:"tracingConfiguration,omitempty" tf:"tracing_configuration,omitempty"`

	// Determines whether a Standard or Express state machine is created. The default is STANDARD. You cannot update the type of a state machine once it has been created. Valid values: STANDARD, EXPRESS.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*StateMachineInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachineInitParameters.

func (*StateMachineInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StateMachineList

type StateMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StateMachine `json:"items"`
}

StateMachineList contains a list of StateMachines

func (*StateMachineList) DeepCopy

func (in *StateMachineList) DeepCopy() *StateMachineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachineList.

func (*StateMachineList) DeepCopyInto

func (in *StateMachineList) DeepCopyInto(out *StateMachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StateMachineList) DeepCopyObject

func (in *StateMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*StateMachineList) GetItems

func (l *StateMachineList) GetItems() []resource.Managed

GetItems of this StateMachineList.

type StateMachineObservation

type StateMachineObservation struct {

	// The ARN of the state machine.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The date the state machine was created.
	CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"`

	// The Amazon States Language definition of the state machine.
	Definition *string `json:"definition,omitempty" tf:"definition,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Defines what encryption configuration is used to encrypt data in the State Machine. For more information see [TBD] in the AWS Step Functions User Guide.
	EncryptionConfiguration []EncryptionConfigurationObservation `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// The ARN of the state machine.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Defines what execution history events are logged and where they are logged. The logging_configuration parameter is only valid when type is set to EXPRESS. Defaults to OFF. For more information see Logging Express Workflows and Log Levels in the AWS Step Functions User Guide.
	LoggingConfiguration []LoggingConfigurationObservation `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"`

	// Set to true to publish a version of the state machine during creation. Default: false.
	Publish *bool `json:"publish,omitempty" tf:"publish,omitempty"`

	// The ARN of the state machine.
	RevisionID *string `json:"revisionId,omitempty" tf:"revision_id,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// The ARN of the state machine version.
	StateMachineVersionArn *string `json:"stateMachineVersionArn,omitempty" tf:"state_machine_version_arn,omitempty"`

	// The current status of the state machine. Either ACTIVE or DELETING.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Selects whether AWS X-Ray tracing is enabled.
	TracingConfiguration []TracingConfigurationObservation `json:"tracingConfiguration,omitempty" tf:"tracing_configuration,omitempty"`

	// Determines whether a Standard or Express state machine is created. The default is STANDARD. You cannot update the type of a state machine once it has been created. Valid values: STANDARD, EXPRESS.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	VersionDescription *string `json:"versionDescription,omitempty" tf:"version_description,omitempty"`
}

func (*StateMachineObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachineObservation.

func (*StateMachineObservation) DeepCopyInto

func (in *StateMachineObservation) DeepCopyInto(out *StateMachineObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StateMachineParameters

type StateMachineParameters struct {

	// The Amazon States Language definition of the state machine.
	// +kubebuilder:validation:Optional
	Definition *string `json:"definition,omitempty" tf:"definition,omitempty"`

	// Defines what encryption configuration is used to encrypt data in the State Machine. For more information see [TBD] in the AWS Step Functions User Guide.
	// +kubebuilder:validation:Optional
	EncryptionConfiguration []EncryptionConfigurationParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// Defines what execution history events are logged and where they are logged. The logging_configuration parameter is only valid when type is set to EXPRESS. Defaults to OFF. For more information see Logging Express Workflows and Log Levels in the AWS Step Functions User Guide.
	// +kubebuilder:validation:Optional
	LoggingConfiguration []LoggingConfigurationParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"`

	// Set to true to publish a version of the state machine during creation. Default: false.
	// +kubebuilder:validation:Optional
	Publish *bool `json:"publish,omitempty" tf:"publish,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Selects whether AWS X-Ray tracing is enabled.
	// +kubebuilder:validation:Optional
	TracingConfiguration []TracingConfigurationParameters `json:"tracingConfiguration,omitempty" tf:"tracing_configuration,omitempty"`

	// Determines whether a Standard or Express state machine is created. The default is STANDARD. You cannot update the type of a state machine once it has been created. Valid values: STANDARD, EXPRESS.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*StateMachineParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachineParameters.

func (*StateMachineParameters) DeepCopyInto

func (in *StateMachineParameters) DeepCopyInto(out *StateMachineParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StateMachineSpec

type StateMachineSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StateMachineParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider StateMachineInitParameters `json:"initProvider,omitempty"`
}

StateMachineSpec defines the desired state of StateMachine

func (*StateMachineSpec) DeepCopy

func (in *StateMachineSpec) DeepCopy() *StateMachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachineSpec.

func (*StateMachineSpec) DeepCopyInto

func (in *StateMachineSpec) DeepCopyInto(out *StateMachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StateMachineStatus

type StateMachineStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        StateMachineObservation `json:"atProvider,omitempty"`
}

StateMachineStatus defines the observed state of StateMachine.

func (*StateMachineStatus) DeepCopy

func (in *StateMachineStatus) DeepCopy() *StateMachineStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateMachineStatus.

func (*StateMachineStatus) DeepCopyInto

func (in *StateMachineStatus) DeepCopyInto(out *StateMachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TracingConfigurationInitParameters added in v0.38.0

type TracingConfigurationInitParameters struct {

	// When set to true, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the AWS Step Functions Developer Guide for details.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*TracingConfigurationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfigurationInitParameters.

func (*TracingConfigurationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TracingConfigurationObservation

type TracingConfigurationObservation struct {

	// When set to true, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the AWS Step Functions Developer Guide for details.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*TracingConfigurationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfigurationObservation.

func (*TracingConfigurationObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TracingConfigurationParameters

type TracingConfigurationParameters struct {

	// When set to true, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the AWS Step Functions Developer Guide for details.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*TracingConfigurationParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfigurationParameters.

func (*TracingConfigurationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL