v1beta1

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Codepipeline_Kind             = "Codepipeline"
	Codepipeline_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Codepipeline_Kind}.String()
	Codepipeline_KindAPIVersion   = Codepipeline_Kind + "." + CRDGroupVersion.String()
	Codepipeline_GroupVersionKind = CRDGroupVersion.WithKind(Codepipeline_Kind)
)

Repository type metadata.

View Source
var (
	CustomActionType_Kind             = "CustomActionType"
	CustomActionType_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomActionType_Kind}.String()
	CustomActionType_KindAPIVersion   = CustomActionType_Kind + "." + CRDGroupVersion.String()
	CustomActionType_GroupVersionKind = CRDGroupVersion.WithKind(CustomActionType_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 (
	Webhook_Kind             = "Webhook"
	Webhook_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Webhook_Kind}.String()
	Webhook_KindAPIVersion   = Webhook_Kind + "." + CRDGroupVersion.String()
	Webhook_GroupVersionKind = CRDGroupVersion.WithKind(Webhook_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActionObservation

type ActionObservation struct {

	// A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Possible values are Approval, Build, Deploy, Invoke, Source and Test.
	Category *string `json:"category,omitempty" tf:"category,omitempty"`

	// A map of the action declaration's configuration. Configurations options for action types and providers can be found in the Pipeline Structure Reference and Action Structure Reference documentation.
	Configuration map[string]*string `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// A list of artifact names to be worked on.
	InputArtifacts []*string `json:"inputArtifacts,omitempty" tf:"input_artifacts,omitempty"`

	// The action declaration's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The namespace all output variables will be accessed from.
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// A list of artifact names to output. Output artifact names must be unique within a pipeline.
	OutputArtifacts []*string `json:"outputArtifacts,omitempty" tf:"output_artifacts,omitempty"`

	// The creator of the action being called. Possible values are AWS, Custom and ThirdParty.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// The provider of the service being called by the action. Valid providers are determined by the action category. Provider names are listed in the Action Structure Reference documentation.
	Provider *string `json:"provider,omitempty" tf:"provider,omitempty"`

	// The region in which to run the action.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// The order in which actions are run.
	RunOrder *float64 `json:"runOrder,omitempty" tf:"run_order,omitempty"`

	// A string that identifies the action type.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Possible values are Approval, Build, Deploy, Invoke, Source and Test.
	// +kubebuilder:validation:Required
	Category *string `json:"category" tf:"category,omitempty"`

	// A map of the action declaration's configuration. Configurations options for action types and providers can be found in the Pipeline Structure Reference and Action Structure Reference documentation.
	// +kubebuilder:validation:Optional
	Configuration map[string]*string `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// A list of artifact names to be worked on.
	// +kubebuilder:validation:Optional
	InputArtifacts []*string `json:"inputArtifacts,omitempty" tf:"input_artifacts,omitempty"`

	// The action declaration's name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The namespace all output variables will be accessed from.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// A list of artifact names to output. Output artifact names must be unique within a pipeline.
	// +kubebuilder:validation:Optional
	OutputArtifacts []*string `json:"outputArtifacts,omitempty" tf:"output_artifacts,omitempty"`

	// The creator of the action being called. Possible values are AWS, Custom and ThirdParty.
	// +kubebuilder:validation:Required
	Owner *string `json:"owner" tf:"owner,omitempty"`

	// The provider of the service being called by the action. Valid providers are determined by the action category. Provider names are listed in the Action Structure Reference documentation.
	// +kubebuilder:validation:Required
	Provider *string `json:"provider" tf:"provider,omitempty"`

	// The region in which to run the action.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// The order in which actions are run.
	// +kubebuilder:validation:Optional
	RunOrder *float64 `json:"runOrder,omitempty" tf:"run_order,omitempty"`

	// A string that identifies the action type.
	// +kubebuilder:validation:Required
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

type ArtifactStoreObservation

type ArtifactStoreObservation struct {

	// The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An encryption_key block is documented below.
	EncryptionKey []EncryptionKeyObservation `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"`

	// The location where AWS CodePipeline stores artifacts for a pipeline; currently only S3 is supported.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The region where the artifact store is located. Required for a cross-region CodePipeline, do not provide for a single-region CodePipeline.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The type of the artifact store, such as Amazon S3
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ArtifactStoreObservation) DeepCopy

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

func (*ArtifactStoreObservation) DeepCopyInto

func (in *ArtifactStoreObservation) DeepCopyInto(out *ArtifactStoreObservation)

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

type ArtifactStoreParameters

type ArtifactStoreParameters struct {

	// The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An encryption_key block is documented below.
	// +kubebuilder:validation:Optional
	EncryptionKey []EncryptionKeyParameters `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"`

	// The location where AWS CodePipeline stores artifacts for a pipeline; currently only S3 is supported.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Reference to a Bucket in s3 to populate location.
	// +kubebuilder:validation:Optional
	LocationRef *v1.Reference `json:"locationRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate location.
	// +kubebuilder:validation:Optional
	LocationSelector *v1.Selector `json:"locationSelector,omitempty" tf:"-"`

	// The region where the artifact store is located. Required for a cross-region CodePipeline, do not provide for a single-region CodePipeline.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The type of the artifact store, such as Amazon S3
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ArtifactStoreParameters) DeepCopy

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

func (*ArtifactStoreParameters) DeepCopyInto

func (in *ArtifactStoreParameters) DeepCopyInto(out *ArtifactStoreParameters)

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

type AuthenticationConfigurationObservation

type AuthenticationConfigurationObservation struct {

	// A valid CIDR block for IP filtering. Required for IP.
	AllowedIPRange *string `json:"allowedIpRange,omitempty" tf:"allowed_ip_range,omitempty"`
}

func (*AuthenticationConfigurationObservation) DeepCopy

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

func (*AuthenticationConfigurationObservation) DeepCopyInto

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

type AuthenticationConfigurationParameters

type AuthenticationConfigurationParameters struct {

	// A valid CIDR block for IP filtering. Required for IP.
	// +kubebuilder:validation:Optional
	AllowedIPRange *string `json:"allowedIpRange,omitempty" tf:"allowed_ip_range,omitempty"`

	// The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
	// +kubebuilder:validation:Optional
	SecretTokenSecretRef *v1.SecretKeySelector `json:"secretTokenSecretRef,omitempty" tf:"-"`
}

func (*AuthenticationConfigurationParameters) DeepCopy

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

func (*AuthenticationConfigurationParameters) DeepCopyInto

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

type Codepipeline

type Codepipeline struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.artifactStore)",message="artifactStore is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.stage)",message="stage is a required parameter"
	Spec   CodepipelineSpec   `json:"spec"`
	Status CodepipelineStatus `json:"status,omitempty"`
}

Codepipeline is the Schema for the Codepipelines API. Provides a CodePipeline +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Codepipeline) DeepCopy

func (in *Codepipeline) DeepCopy() *Codepipeline

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

func (*Codepipeline) DeepCopyInto

func (in *Codepipeline) DeepCopyInto(out *Codepipeline)

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

func (*Codepipeline) DeepCopyObject

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

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

func (*Codepipeline) GetCondition

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

GetCondition of this Codepipeline.

func (*Codepipeline) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Codepipeline

func (*Codepipeline) GetDeletionPolicy

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

GetDeletionPolicy of this Codepipeline.

func (*Codepipeline) GetID

func (tr *Codepipeline) GetID() string

GetID returns ID of underlying Terraform resource of this Codepipeline

func (*Codepipeline) GetManagementPolicy added in v0.34.0

func (mg *Codepipeline) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Codepipeline.

func (*Codepipeline) GetObservation

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

GetObservation of this Codepipeline

func (*Codepipeline) GetParameters

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

GetParameters of this Codepipeline

func (*Codepipeline) GetProviderConfigReference

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

GetProviderConfigReference of this Codepipeline.

func (*Codepipeline) GetProviderReference

func (mg *Codepipeline) GetProviderReference() *xpv1.Reference

GetProviderReference of this Codepipeline. Deprecated: Use GetProviderConfigReference.

func (*Codepipeline) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Codepipeline.

func (*Codepipeline) GetTerraformResourceType

func (mg *Codepipeline) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Codepipeline

func (*Codepipeline) GetTerraformSchemaVersion

func (tr *Codepipeline) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Codepipeline) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Codepipeline.

func (*Codepipeline) LateInitialize

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

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

func (*Codepipeline) ResolveReferences

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

ResolveReferences of this Codepipeline.

func (*Codepipeline) SetConditions

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

SetConditions of this Codepipeline.

func (*Codepipeline) SetDeletionPolicy

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

SetDeletionPolicy of this Codepipeline.

func (*Codepipeline) SetManagementPolicy added in v0.34.0

func (mg *Codepipeline) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Codepipeline.

func (*Codepipeline) SetObservation

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

SetObservation for this Codepipeline

func (*Codepipeline) SetParameters

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

SetParameters for this Codepipeline

func (*Codepipeline) SetProviderConfigReference

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

SetProviderConfigReference of this Codepipeline.

func (*Codepipeline) SetProviderReference

func (mg *Codepipeline) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Codepipeline. Deprecated: Use SetProviderConfigReference.

func (*Codepipeline) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Codepipeline.

func (*Codepipeline) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Codepipeline.

type CodepipelineList

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

CodepipelineList contains a list of Codepipelines

func (*CodepipelineList) DeepCopy

func (in *CodepipelineList) DeepCopy() *CodepipelineList

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

func (*CodepipelineList) DeepCopyInto

func (in *CodepipelineList) DeepCopyInto(out *CodepipelineList)

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

func (*CodepipelineList) DeepCopyObject

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

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

func (*CodepipelineList) GetItems

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

GetItems of this CodepipelineList.

type CodepipelineObservation

type CodepipelineObservation struct {

	// The codepipeline ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// One or more artifact_store blocks. Artifact stores are documented below.
	ArtifactStore []ArtifactStoreObservation `json:"artifactStore,omitempty" tf:"artifact_store,omitempty"`

	// The codepipeline ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.
	Stage []StageObservation `json:"stage,omitempty" tf:"stage,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*CodepipelineObservation) DeepCopy

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

func (*CodepipelineObservation) DeepCopyInto

func (in *CodepipelineObservation) DeepCopyInto(out *CodepipelineObservation)

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

type CodepipelineParameters

type CodepipelineParameters struct {

	// One or more artifact_store blocks. Artifact stores are documented below.
	// +kubebuilder:validation:Optional
	ArtifactStore []ArtifactStoreParameters `json:"artifactStore,omitempty" tf:"artifact_store,omitempty"`

	// The region in which to run the action.
	// 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:"-"`

	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	// +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:"-"`

	// (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.
	// +kubebuilder:validation:Optional
	Stage []StageParameters `json:"stage,omitempty" tf:"stage,omitempty"`

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

func (*CodepipelineParameters) DeepCopy

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

func (*CodepipelineParameters) DeepCopyInto

func (in *CodepipelineParameters) DeepCopyInto(out *CodepipelineParameters)

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

type CodepipelineSpec

type CodepipelineSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CodepipelineParameters `json:"forProvider"`
}

CodepipelineSpec defines the desired state of Codepipeline

func (*CodepipelineSpec) DeepCopy

func (in *CodepipelineSpec) DeepCopy() *CodepipelineSpec

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

func (*CodepipelineSpec) DeepCopyInto

func (in *CodepipelineSpec) DeepCopyInto(out *CodepipelineSpec)

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

type CodepipelineStatus

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

CodepipelineStatus defines the observed state of Codepipeline.

func (*CodepipelineStatus) DeepCopy

func (in *CodepipelineStatus) DeepCopy() *CodepipelineStatus

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

func (*CodepipelineStatus) DeepCopyInto

func (in *CodepipelineStatus) DeepCopyInto(out *CodepipelineStatus)

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

type ConfigurationPropertyObservation added in v0.30.0

type ConfigurationPropertyObservation struct {

	// The description of the action configuration property.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether the configuration property is a key.
	Key *bool `json:"key,omitempty" tf:"key,omitempty"`

	// The name of the action configuration property.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Indicates that the property will be used in conjunction with PollForJobs.
	Queryable *bool `json:"queryable,omitempty" tf:"queryable,omitempty"`

	// Whether the configuration property is a required value.
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// Whether the configuration property is secret.
	Secret *bool `json:"secret,omitempty" tf:"secret,omitempty"`

	// The type of the configuration property. Valid values: String, Number, Boolean
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ConfigurationPropertyObservation) DeepCopy added in v0.30.0

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

func (*ConfigurationPropertyObservation) DeepCopyInto added in v0.30.0

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

type ConfigurationPropertyParameters added in v0.30.0

type ConfigurationPropertyParameters struct {

	// The description of the action configuration property.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether the configuration property is a key.
	// +kubebuilder:validation:Required
	Key *bool `json:"key" tf:"key,omitempty"`

	// The name of the action configuration property.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Indicates that the property will be used in conjunction with PollForJobs.
	// +kubebuilder:validation:Optional
	Queryable *bool `json:"queryable,omitempty" tf:"queryable,omitempty"`

	// Whether the configuration property is a required value.
	// +kubebuilder:validation:Required
	Required *bool `json:"required" tf:"required,omitempty"`

	// Whether the configuration property is secret.
	// +kubebuilder:validation:Required
	Secret *bool `json:"secret" tf:"secret,omitempty"`

	// The type of the configuration property. Valid values: String, Number, Boolean
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ConfigurationPropertyParameters) DeepCopy added in v0.30.0

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

func (*ConfigurationPropertyParameters) DeepCopyInto added in v0.30.0

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

type CustomActionType added in v0.30.0

type CustomActionType struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.category)",message="category is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.inputArtifactDetails)",message="inputArtifactDetails is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.outputArtifactDetails)",message="outputArtifactDetails is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.providerName)",message="providerName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.version)",message="version is a required parameter"
	Spec   CustomActionTypeSpec   `json:"spec"`
	Status CustomActionTypeStatus `json:"status,omitempty"`
}

CustomActionType is the Schema for the CustomActionTypes API. Provides a CodePipeline CustomActionType. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*CustomActionType) DeepCopy added in v0.30.0

func (in *CustomActionType) DeepCopy() *CustomActionType

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

func (*CustomActionType) DeepCopyInto added in v0.30.0

func (in *CustomActionType) DeepCopyInto(out *CustomActionType)

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

func (*CustomActionType) DeepCopyObject added in v0.30.0

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

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

func (*CustomActionType) GetCondition added in v0.30.0

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

GetCondition of this CustomActionType.

func (*CustomActionType) GetConnectionDetailsMapping added in v0.30.0

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

GetConnectionDetailsMapping for this CustomActionType

func (*CustomActionType) GetDeletionPolicy added in v0.30.0

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

GetDeletionPolicy of this CustomActionType.

func (*CustomActionType) GetID added in v0.30.0

func (tr *CustomActionType) GetID() string

GetID returns ID of underlying Terraform resource of this CustomActionType

func (*CustomActionType) GetManagementPolicy added in v0.34.0

func (mg *CustomActionType) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this CustomActionType.

func (*CustomActionType) GetObservation added in v0.30.0

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

GetObservation of this CustomActionType

func (*CustomActionType) GetParameters added in v0.30.0

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

GetParameters of this CustomActionType

func (*CustomActionType) GetProviderConfigReference added in v0.30.0

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

GetProviderConfigReference of this CustomActionType.

func (*CustomActionType) GetProviderReference added in v0.30.0

func (mg *CustomActionType) GetProviderReference() *xpv1.Reference

GetProviderReference of this CustomActionType. Deprecated: Use GetProviderConfigReference.

func (*CustomActionType) GetPublishConnectionDetailsTo added in v0.30.0

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

GetPublishConnectionDetailsTo of this CustomActionType.

func (*CustomActionType) GetTerraformResourceType added in v0.30.0

func (mg *CustomActionType) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomActionType

func (*CustomActionType) GetTerraformSchemaVersion added in v0.30.0

func (tr *CustomActionType) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomActionType) GetWriteConnectionSecretToReference added in v0.30.0

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

GetWriteConnectionSecretToReference of this CustomActionType.

func (*CustomActionType) LateInitialize added in v0.30.0

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

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

func (*CustomActionType) SetConditions added in v0.30.0

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

SetConditions of this CustomActionType.

func (*CustomActionType) SetDeletionPolicy added in v0.30.0

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

SetDeletionPolicy of this CustomActionType.

func (*CustomActionType) SetManagementPolicy added in v0.34.0

func (mg *CustomActionType) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this CustomActionType.

func (*CustomActionType) SetObservation added in v0.30.0

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

SetObservation for this CustomActionType

func (*CustomActionType) SetParameters added in v0.30.0

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

SetParameters for this CustomActionType

func (*CustomActionType) SetProviderConfigReference added in v0.30.0

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

SetProviderConfigReference of this CustomActionType.

func (*CustomActionType) SetProviderReference added in v0.30.0

func (mg *CustomActionType) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CustomActionType. Deprecated: Use SetProviderConfigReference.

func (*CustomActionType) SetPublishConnectionDetailsTo added in v0.30.0

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

SetPublishConnectionDetailsTo of this CustomActionType.

func (*CustomActionType) SetWriteConnectionSecretToReference added in v0.30.0

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

SetWriteConnectionSecretToReference of this CustomActionType.

type CustomActionTypeList added in v0.30.0

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

CustomActionTypeList contains a list of CustomActionTypes

func (*CustomActionTypeList) DeepCopy added in v0.30.0

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

func (*CustomActionTypeList) DeepCopyInto added in v0.30.0

func (in *CustomActionTypeList) DeepCopyInto(out *CustomActionTypeList)

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

func (*CustomActionTypeList) DeepCopyObject added in v0.30.0

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

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

func (*CustomActionTypeList) GetItems added in v0.30.0

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

GetItems of this CustomActionTypeList.

type CustomActionTypeObservation added in v0.30.0

type CustomActionTypeObservation struct {

	// The action ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The category of the custom action. Valid values: Source, Build, Deploy, Test, Invoke, Approval
	Category *string `json:"category,omitempty" tf:"category,omitempty"`

	// The configuration properties for the custom action. Max 10 items.
	ConfigurationProperty []ConfigurationPropertyObservation `json:"configurationProperty,omitempty" tf:"configuration_property,omitempty"`

	// Composed of category, provider and version
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The details of the input artifact for the action.
	InputArtifactDetails []InputArtifactDetailsObservation `json:"inputArtifactDetails,omitempty" tf:"input_artifact_details,omitempty"`

	// The details of the output artifact of the action.
	OutputArtifactDetails []OutputArtifactDetailsObservation `json:"outputArtifactDetails,omitempty" tf:"output_artifact_details,omitempty"`

	// The creator of the action being called.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// The provider of the service used in the custom action
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"`

	// The settings for an action type.
	Settings []SettingsObservation `json:"settings,omitempty" tf:"settings,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The version identifier of the custom action.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*CustomActionTypeObservation) DeepCopy added in v0.30.0

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

func (*CustomActionTypeObservation) DeepCopyInto added in v0.30.0

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

type CustomActionTypeParameters added in v0.30.0

type CustomActionTypeParameters struct {

	// The category of the custom action. Valid values: Source, Build, Deploy, Test, Invoke, Approval
	// +kubebuilder:validation:Optional
	Category *string `json:"category,omitempty" tf:"category,omitempty"`

	// The configuration properties for the custom action. Max 10 items.
	// +kubebuilder:validation:Optional
	ConfigurationProperty []ConfigurationPropertyParameters `json:"configurationProperty,omitempty" tf:"configuration_property,omitempty"`

	// The details of the input artifact for the action.
	// +kubebuilder:validation:Optional
	InputArtifactDetails []InputArtifactDetailsParameters `json:"inputArtifactDetails,omitempty" tf:"input_artifact_details,omitempty"`

	// The details of the output artifact of the action.
	// +kubebuilder:validation:Optional
	OutputArtifactDetails []OutputArtifactDetailsParameters `json:"outputArtifactDetails,omitempty" tf:"output_artifact_details,omitempty"`

	// The provider of the service used in the custom action
	// +kubebuilder:validation:Optional
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name,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 settings for an action type.
	// +kubebuilder:validation:Optional
	Settings []SettingsParameters `json:"settings,omitempty" tf:"settings,omitempty"`

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

	// The version identifier of the custom action.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*CustomActionTypeParameters) DeepCopy added in v0.30.0

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

func (*CustomActionTypeParameters) DeepCopyInto added in v0.30.0

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

type CustomActionTypeSpec added in v0.30.0

type CustomActionTypeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CustomActionTypeParameters `json:"forProvider"`
}

CustomActionTypeSpec defines the desired state of CustomActionType

func (*CustomActionTypeSpec) DeepCopy added in v0.30.0

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

func (*CustomActionTypeSpec) DeepCopyInto added in v0.30.0

func (in *CustomActionTypeSpec) DeepCopyInto(out *CustomActionTypeSpec)

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

type CustomActionTypeStatus added in v0.30.0

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

CustomActionTypeStatus defines the observed state of CustomActionType.

func (*CustomActionTypeStatus) DeepCopy added in v0.30.0

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

func (*CustomActionTypeStatus) DeepCopyInto added in v0.30.0

func (in *CustomActionTypeStatus) DeepCopyInto(out *CustomActionTypeStatus)

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

type EncryptionKeyObservation

type EncryptionKeyObservation struct {

	// The KMS key ARN or ID
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The type of key; currently only KMS is supported
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionKeyObservation) DeepCopy

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

func (*EncryptionKeyObservation) DeepCopyInto

func (in *EncryptionKeyObservation) DeepCopyInto(out *EncryptionKeyObservation)

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

type EncryptionKeyParameters

type EncryptionKeyParameters struct {

	// The KMS key ARN or ID
	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// The type of key; currently only KMS is supported
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*EncryptionKeyParameters) DeepCopy

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

func (*EncryptionKeyParameters) DeepCopyInto

func (in *EncryptionKeyParameters) DeepCopyInto(out *EncryptionKeyParameters)

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

type FilterObservation

type FilterObservation struct {

	// The JSON path to filter on.
	JSONPath *string `json:"jsonPath,omitempty" tf:"json_path,omitempty"`

	// The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
	MatchEquals *string `json:"matchEquals,omitempty" tf:"match_equals,omitempty"`
}

func (*FilterObservation) DeepCopy

func (in *FilterObservation) DeepCopy() *FilterObservation

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

func (*FilterObservation) DeepCopyInto

func (in *FilterObservation) DeepCopyInto(out *FilterObservation)

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

type FilterParameters

type FilterParameters struct {

	// The JSON path to filter on.
	// +kubebuilder:validation:Required
	JSONPath *string `json:"jsonPath" tf:"json_path,omitempty"`

	// The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
	// +kubebuilder:validation:Required
	MatchEquals *string `json:"matchEquals" tf:"match_equals,omitempty"`
}

func (*FilterParameters) DeepCopy

func (in *FilterParameters) DeepCopy() *FilterParameters

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

func (*FilterParameters) DeepCopyInto

func (in *FilterParameters) DeepCopyInto(out *FilterParameters)

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

type InputArtifactDetailsObservation added in v0.30.0

type InputArtifactDetailsObservation struct {

	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	MaximumCount *float64 `json:"maximumCount,omitempty" tf:"maximum_count,omitempty"`

	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	MinimumCount *float64 `json:"minimumCount,omitempty" tf:"minimum_count,omitempty"`
}

func (*InputArtifactDetailsObservation) DeepCopy added in v0.30.0

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

func (*InputArtifactDetailsObservation) DeepCopyInto added in v0.30.0

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

type InputArtifactDetailsParameters added in v0.30.0

type InputArtifactDetailsParameters struct {

	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	// +kubebuilder:validation:Required
	MaximumCount *float64 `json:"maximumCount" tf:"maximum_count,omitempty"`

	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	// +kubebuilder:validation:Required
	MinimumCount *float64 `json:"minimumCount" tf:"minimum_count,omitempty"`
}

func (*InputArtifactDetailsParameters) DeepCopy added in v0.30.0

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

func (*InputArtifactDetailsParameters) DeepCopyInto added in v0.30.0

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

type OutputArtifactDetailsObservation added in v0.30.0

type OutputArtifactDetailsObservation struct {

	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	MaximumCount *float64 `json:"maximumCount,omitempty" tf:"maximum_count,omitempty"`

	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	MinimumCount *float64 `json:"minimumCount,omitempty" tf:"minimum_count,omitempty"`
}

func (*OutputArtifactDetailsObservation) DeepCopy added in v0.30.0

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

func (*OutputArtifactDetailsObservation) DeepCopyInto added in v0.30.0

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

type OutputArtifactDetailsParameters added in v0.30.0

type OutputArtifactDetailsParameters struct {

	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	// +kubebuilder:validation:Required
	MaximumCount *float64 `json:"maximumCount" tf:"maximum_count,omitempty"`

	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	// +kubebuilder:validation:Required
	MinimumCount *float64 `json:"minimumCount" tf:"minimum_count,omitempty"`
}

func (*OutputArtifactDetailsParameters) DeepCopy added in v0.30.0

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

func (*OutputArtifactDetailsParameters) DeepCopyInto added in v0.30.0

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

type SettingsObservation added in v0.30.0

type SettingsObservation struct {

	// The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system.
	EntityURLTemplate *string `json:"entityUrlTemplate,omitempty" tf:"entity_url_template,omitempty"`

	// The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system.
	ExecutionURLTemplate *string `json:"executionUrlTemplate,omitempty" tf:"execution_url_template,omitempty"`

	// The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.
	RevisionURLTemplate *string `json:"revisionUrlTemplate,omitempty" tf:"revision_url_template,omitempty"`

	// The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.
	ThirdPartyConfigurationURL *string `json:"thirdPartyConfigurationUrl,omitempty" tf:"third_party_configuration_url,omitempty"`
}

func (*SettingsObservation) DeepCopy added in v0.30.0

func (in *SettingsObservation) DeepCopy() *SettingsObservation

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

func (*SettingsObservation) DeepCopyInto added in v0.30.0

func (in *SettingsObservation) DeepCopyInto(out *SettingsObservation)

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

type SettingsParameters added in v0.30.0

type SettingsParameters struct {

	// The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system.
	// +kubebuilder:validation:Optional
	EntityURLTemplate *string `json:"entityUrlTemplate,omitempty" tf:"entity_url_template,omitempty"`

	// The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system.
	// +kubebuilder:validation:Optional
	ExecutionURLTemplate *string `json:"executionUrlTemplate,omitempty" tf:"execution_url_template,omitempty"`

	// The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.
	// +kubebuilder:validation:Optional
	RevisionURLTemplate *string `json:"revisionUrlTemplate,omitempty" tf:"revision_url_template,omitempty"`

	// The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.
	// +kubebuilder:validation:Optional
	ThirdPartyConfigurationURL *string `json:"thirdPartyConfigurationUrl,omitempty" tf:"third_party_configuration_url,omitempty"`
}

func (*SettingsParameters) DeepCopy added in v0.30.0

func (in *SettingsParameters) DeepCopy() *SettingsParameters

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

func (*SettingsParameters) DeepCopyInto added in v0.30.0

func (in *SettingsParameters) DeepCopyInto(out *SettingsParameters)

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

type StageObservation

type StageObservation struct {

	// The action(s) to include in the stage. Defined as an action block below
	Action []ActionObservation `json:"action,omitempty" tf:"action,omitempty"`

	// The name of the stage.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*StageObservation) DeepCopy

func (in *StageObservation) DeepCopy() *StageObservation

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

func (*StageObservation) DeepCopyInto

func (in *StageObservation) DeepCopyInto(out *StageObservation)

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

type StageParameters

type StageParameters struct {

	// The action(s) to include in the stage. Defined as an action block below
	// +kubebuilder:validation:Required
	Action []ActionParameters `json:"action" tf:"action,omitempty"`

	// The name of the stage.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*StageParameters) DeepCopy

func (in *StageParameters) DeepCopy() *StageParameters

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

func (*StageParameters) DeepCopyInto

func (in *StageParameters) DeepCopyInto(out *StageParameters)

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

type Webhook

type Webhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.authentication)",message="authentication is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.filter)",message="filter is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.targetAction)",message="targetAction is a required parameter"
	Spec   WebhookSpec   `json:"spec"`
	Status WebhookStatus `json:"status,omitempty"`
}

Webhook is the Schema for the Webhooks API. Provides a CodePipeline Webhook +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Webhook) DeepCopy

func (in *Webhook) DeepCopy() *Webhook

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

func (*Webhook) DeepCopyInto

func (in *Webhook) DeepCopyInto(out *Webhook)

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

func (*Webhook) DeepCopyObject

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

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

func (*Webhook) GetCondition

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

GetCondition of this Webhook.

func (*Webhook) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Webhook

func (*Webhook) GetDeletionPolicy

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

GetDeletionPolicy of this Webhook.

func (*Webhook) GetID

func (tr *Webhook) GetID() string

GetID returns ID of underlying Terraform resource of this Webhook

func (*Webhook) GetManagementPolicy added in v0.34.0

func (mg *Webhook) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Webhook.

func (*Webhook) GetObservation

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

GetObservation of this Webhook

func (*Webhook) GetParameters

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

GetParameters of this Webhook

func (*Webhook) GetProviderConfigReference

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

GetProviderConfigReference of this Webhook.

func (*Webhook) GetProviderReference

func (mg *Webhook) GetProviderReference() *xpv1.Reference

GetProviderReference of this Webhook. Deprecated: Use GetProviderConfigReference.

func (*Webhook) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Webhook.

func (*Webhook) GetTerraformResourceType

func (mg *Webhook) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Webhook

func (*Webhook) GetTerraformSchemaVersion

func (tr *Webhook) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Webhook) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Webhook.

func (*Webhook) LateInitialize

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

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

func (*Webhook) ResolveReferences

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

ResolveReferences of this Webhook.

func (*Webhook) SetConditions

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

SetConditions of this Webhook.

func (*Webhook) SetDeletionPolicy

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

SetDeletionPolicy of this Webhook.

func (*Webhook) SetManagementPolicy added in v0.34.0

func (mg *Webhook) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Webhook.

func (*Webhook) SetObservation

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

SetObservation for this Webhook

func (*Webhook) SetParameters

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

SetParameters for this Webhook

func (*Webhook) SetProviderConfigReference

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

SetProviderConfigReference of this Webhook.

func (*Webhook) SetProviderReference

func (mg *Webhook) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Webhook. Deprecated: Use SetProviderConfigReference.

func (*Webhook) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Webhook.

func (*Webhook) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Webhook.

type WebhookList

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

WebhookList contains a list of Webhooks

func (*WebhookList) DeepCopy

func (in *WebhookList) DeepCopy() *WebhookList

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

func (*WebhookList) DeepCopyInto

func (in *WebhookList) DeepCopyInto(out *WebhookList)

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

func (*WebhookList) DeepCopyObject

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

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

func (*WebhookList) GetItems

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

GetItems of this WebhookList.

type WebhookObservation

type WebhookObservation struct {

	// The CodePipeline webhook's ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The type of authentication  to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
	Authentication *string `json:"authentication,omitempty" tf:"authentication,omitempty"`

	// An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
	AuthenticationConfiguration []AuthenticationConfigurationObservation `json:"authenticationConfiguration,omitempty" tf:"authentication_configuration,omitempty"`

	// One or more filter blocks. Filter blocks are documented below.
	Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"`

	// The CodePipeline webhook's ARN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
	TargetAction *string `json:"targetAction,omitempty" tf:"target_action,omitempty"`

	// The name of the pipeline.
	TargetPipeline *string `json:"targetPipeline,omitempty" tf:"target_pipeline,omitempty"`

	// The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*WebhookObservation) DeepCopy

func (in *WebhookObservation) DeepCopy() *WebhookObservation

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

func (*WebhookObservation) DeepCopyInto

func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation)

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

type WebhookParameters

type WebhookParameters struct {

	// The type of authentication  to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
	// +kubebuilder:validation:Optional
	Authentication *string `json:"authentication,omitempty" tf:"authentication,omitempty"`

	// An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
	// +kubebuilder:validation:Optional
	AuthenticationConfiguration []AuthenticationConfigurationParameters `json:"authenticationConfiguration,omitempty" tf:"authentication_configuration,omitempty"`

	// One or more filter blocks. Filter blocks are documented below.
	// +kubebuilder:validation:Optional
	Filter []FilterParameters `json:"filter,omitempty" tf:"filter,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
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
	// +kubebuilder:validation:Optional
	TargetAction *string `json:"targetAction,omitempty" tf:"target_action,omitempty"`

	// The name of the pipeline.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codepipeline/v1beta1.Codepipeline
	// +kubebuilder:validation:Optional
	TargetPipeline *string `json:"targetPipeline,omitempty" tf:"target_pipeline,omitempty"`

	// Reference to a Codepipeline in codepipeline to populate targetPipeline.
	// +kubebuilder:validation:Optional
	TargetPipelineRef *v1.Reference `json:"targetPipelineRef,omitempty" tf:"-"`

	// Selector for a Codepipeline in codepipeline to populate targetPipeline.
	// +kubebuilder:validation:Optional
	TargetPipelineSelector *v1.Selector `json:"targetPipelineSelector,omitempty" tf:"-"`
}

func (*WebhookParameters) DeepCopy

func (in *WebhookParameters) DeepCopy() *WebhookParameters

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

func (*WebhookParameters) DeepCopyInto

func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters)

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

type WebhookSpec

type WebhookSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WebhookParameters `json:"forProvider"`
}

WebhookSpec defines the desired state of Webhook

func (*WebhookSpec) DeepCopy

func (in *WebhookSpec) DeepCopy() *WebhookSpec

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

func (*WebhookSpec) DeepCopyInto

func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)

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

type WebhookStatus

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

WebhookStatus defines the observed state of Webhook.

func (*WebhookStatus) DeepCopy

func (in *WebhookStatus) DeepCopy() *WebhookStatus

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

func (*WebhookStatus) DeepCopyInto

func (in *WebhookStatus) DeepCopyInto(out *WebhookStatus)

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