v1beta1

package
v1.15.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ApprovalRuleTemplate_Kind             = "ApprovalRuleTemplate"
	ApprovalRuleTemplate_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ApprovalRuleTemplate_Kind}.String()
	ApprovalRuleTemplate_KindAPIVersion   = ApprovalRuleTemplate_Kind + "." + CRDGroupVersion.String()
	ApprovalRuleTemplate_GroupVersionKind = CRDGroupVersion.WithKind(ApprovalRuleTemplate_Kind)
)

Repository type metadata.

View Source
var (
	ApprovalRuleTemplateAssociation_Kind             = "ApprovalRuleTemplateAssociation"
	ApprovalRuleTemplateAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ApprovalRuleTemplateAssociation_Kind}.String()
	ApprovalRuleTemplateAssociation_KindAPIVersion   = ApprovalRuleTemplateAssociation_Kind + "." + CRDGroupVersion.String()
	ApprovalRuleTemplateAssociation_GroupVersionKind = CRDGroupVersion.WithKind(ApprovalRuleTemplateAssociation_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 (
	Repository_Kind             = "Repository"
	Repository_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Repository_Kind}.String()
	Repository_KindAPIVersion   = Repository_Kind + "." + CRDGroupVersion.String()
	Repository_GroupVersionKind = CRDGroupVersion.WithKind(Repository_Kind)
)

Repository type metadata.

View Source
var (
	Trigger_Kind             = "Trigger"
	Trigger_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Trigger_Kind}.String()
	Trigger_KindAPIVersion   = Trigger_Kind + "." + CRDGroupVersion.String()
	Trigger_GroupVersionKind = CRDGroupVersion.WithKind(Trigger_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ApprovalRuleTemplate

type ApprovalRuleTemplate 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.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter"
	Spec   ApprovalRuleTemplateSpec   `json:"spec"`
	Status ApprovalRuleTemplateStatus `json:"status,omitempty"`
}

ApprovalRuleTemplate is the Schema for the ApprovalRuleTemplates API. Provides a CodeCommit Approval Rule Template 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 (*ApprovalRuleTemplate) DeepCopy

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

func (*ApprovalRuleTemplate) DeepCopyInto

func (in *ApprovalRuleTemplate) DeepCopyInto(out *ApprovalRuleTemplate)

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

func (*ApprovalRuleTemplate) DeepCopyObject

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

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

func (*ApprovalRuleTemplate) GetCondition

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

GetCondition of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetDeletionPolicy

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

GetDeletionPolicy of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) GetID

func (tr *ApprovalRuleTemplate) GetID() string

GetID returns ID of underlying Terraform resource of this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetInitParameters added in v0.38.0

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

GetInitParameters of this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetObservation

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

GetObservation of this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetParameters

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

GetParameters of this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetProviderConfigReference

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

GetProviderConfigReference of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) GetTerraformResourceType

func (mg *ApprovalRuleTemplate) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) GetTerraformSchemaVersion

func (tr *ApprovalRuleTemplate) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ApprovalRuleTemplate) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) Hub added in v0.47.2

func (tr *ApprovalRuleTemplate) Hub()

Hub marks this type as a conversion hub.

func (*ApprovalRuleTemplate) LateInitialize

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

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

func (*ApprovalRuleTemplate) SetConditions

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

SetConditions of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) SetDeletionPolicy

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

SetDeletionPolicy of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) SetObservation

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

SetObservation for this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) SetParameters

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

SetParameters for this ApprovalRuleTemplate

func (*ApprovalRuleTemplate) SetProviderConfigReference

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

SetProviderConfigReference of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ApprovalRuleTemplate.

func (*ApprovalRuleTemplate) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ApprovalRuleTemplate.

type ApprovalRuleTemplateAssociation

type ApprovalRuleTemplateAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApprovalRuleTemplateAssociationSpec   `json:"spec"`
	Status            ApprovalRuleTemplateAssociationStatus `json:"status,omitempty"`
}

ApprovalRuleTemplateAssociation is the Schema for the ApprovalRuleTemplateAssociations API. Associates a CodeCommit Approval Rule Template with a Repository. +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 (*ApprovalRuleTemplateAssociation) DeepCopy

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

func (*ApprovalRuleTemplateAssociation) DeepCopyInto

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

func (*ApprovalRuleTemplateAssociation) DeepCopyObject

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

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

func (*ApprovalRuleTemplateAssociation) GetCondition

GetCondition of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetDeletionPolicy

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

GetDeletionPolicy of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) GetID

GetID returns ID of underlying Terraform resource of this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetInitParameters added in v0.38.0

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

GetInitParameters of this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetObservation

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

GetObservation of this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetParameters

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

GetParameters of this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetProviderConfigReference

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

GetProviderConfigReference of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) GetTerraformResourceType

func (mg *ApprovalRuleTemplateAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) GetTerraformSchemaVersion

func (tr *ApprovalRuleTemplateAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ApprovalRuleTemplateAssociation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) Hub added in v0.47.2

Hub marks this type as a conversion hub.

func (*ApprovalRuleTemplateAssociation) LateInitialize

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

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

func (*ApprovalRuleTemplateAssociation) ResolveReferences

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

func (*ApprovalRuleTemplateAssociation) SetConditions

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

SetConditions of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) SetDeletionPolicy

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

SetDeletionPolicy of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) SetObservation

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

SetObservation for this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) SetParameters

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

SetParameters for this ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociation) SetProviderConfigReference

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

SetProviderConfigReference of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ApprovalRuleTemplateAssociation.

type ApprovalRuleTemplateAssociationInitParameters added in v0.38.0

type ApprovalRuleTemplateAssociationInitParameters struct {
}

func (*ApprovalRuleTemplateAssociationInitParameters) DeepCopy added in v0.38.0

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

func (*ApprovalRuleTemplateAssociationInitParameters) DeepCopyInto added in v0.38.0

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

type ApprovalRuleTemplateAssociationList

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

ApprovalRuleTemplateAssociationList contains a list of ApprovalRuleTemplateAssociations

func (*ApprovalRuleTemplateAssociationList) DeepCopy

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

func (*ApprovalRuleTemplateAssociationList) DeepCopyInto

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

func (*ApprovalRuleTemplateAssociationList) DeepCopyObject

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

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

func (*ApprovalRuleTemplateAssociationList) GetItems

GetItems of this ApprovalRuleTemplateAssociationList.

type ApprovalRuleTemplateAssociationObservation

type ApprovalRuleTemplateAssociationObservation struct {

	// The name for the approval rule template.
	ApprovalRuleTemplateName *string `json:"approvalRuleTemplateName,omitempty" tf:"approval_rule_template_name,omitempty"`

	// The name of the approval rule template and name of the repository, separated by a comma (,).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the repository that you want to associate with the template.
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`
}

func (*ApprovalRuleTemplateAssociationObservation) DeepCopy

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

func (*ApprovalRuleTemplateAssociationObservation) DeepCopyInto

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

type ApprovalRuleTemplateAssociationParameters

type ApprovalRuleTemplateAssociationParameters struct {

	// The name for the approval rule template.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codecommit/v1beta1.ApprovalRuleTemplate
	// +kubebuilder:validation:Optional
	ApprovalRuleTemplateName *string `json:"approvalRuleTemplateName,omitempty" tf:"approval_rule_template_name,omitempty"`

	// Reference to a ApprovalRuleTemplate in codecommit to populate approvalRuleTemplateName.
	// +kubebuilder:validation:Optional
	ApprovalRuleTemplateNameRef *v1.Reference `json:"approvalRuleTemplateNameRef,omitempty" tf:"-"`

	// Selector for a ApprovalRuleTemplate in codecommit to populate approvalRuleTemplateName.
	// +kubebuilder:validation:Optional
	ApprovalRuleTemplateNameSelector *v1.Selector `json:"approvalRuleTemplateNameSelector,omitempty" tf:"-"`

	// 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 name of the repository that you want to associate with the template.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codecommit/v1beta1.Repository
	// +kubebuilder:validation:Optional
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// Reference to a Repository in codecommit to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"`

	// Selector for a Repository in codecommit to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"`
}

func (*ApprovalRuleTemplateAssociationParameters) DeepCopy

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

func (*ApprovalRuleTemplateAssociationParameters) DeepCopyInto

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

type ApprovalRuleTemplateAssociationSpec

type ApprovalRuleTemplateAssociationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ApprovalRuleTemplateAssociationParameters `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 ApprovalRuleTemplateAssociationInitParameters `json:"initProvider,omitempty"`
}

ApprovalRuleTemplateAssociationSpec defines the desired state of ApprovalRuleTemplateAssociation

func (*ApprovalRuleTemplateAssociationSpec) DeepCopy

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

func (*ApprovalRuleTemplateAssociationSpec) DeepCopyInto

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

type ApprovalRuleTemplateAssociationStatus

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

ApprovalRuleTemplateAssociationStatus defines the observed state of ApprovalRuleTemplateAssociation.

func (*ApprovalRuleTemplateAssociationStatus) DeepCopy

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

func (*ApprovalRuleTemplateAssociationStatus) DeepCopyInto

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

type ApprovalRuleTemplateInitParameters added in v0.38.0

type ApprovalRuleTemplateInitParameters struct {

	// The content of the approval rule template. Maximum of 3000 characters.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The description of the approval rule template. Maximum of 1000 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`
}

func (*ApprovalRuleTemplateInitParameters) DeepCopy added in v0.38.0

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

func (*ApprovalRuleTemplateInitParameters) DeepCopyInto added in v0.38.0

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

type ApprovalRuleTemplateList

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

ApprovalRuleTemplateList contains a list of ApprovalRuleTemplates

func (*ApprovalRuleTemplateList) DeepCopy

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

func (*ApprovalRuleTemplateList) DeepCopyInto

func (in *ApprovalRuleTemplateList) DeepCopyInto(out *ApprovalRuleTemplateList)

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

func (*ApprovalRuleTemplateList) DeepCopyObject

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

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

func (*ApprovalRuleTemplateList) GetItems

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

GetItems of this ApprovalRuleTemplateList.

type ApprovalRuleTemplateObservation

type ApprovalRuleTemplateObservation struct {

	// The ID of the approval rule template
	ApprovalRuleTemplateID *string `json:"approvalRuleTemplateId,omitempty" tf:"approval_rule_template_id,omitempty"`

	// The content of the approval rule template. Maximum of 3000 characters.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The date the approval rule template was created, in RFC3339 format.
	CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"`

	// The description of the approval rule template. Maximum of 1000 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The date the approval rule template was most recently changed, in RFC3339 format.
	LastModifiedDate *string `json:"lastModifiedDate,omitempty" tf:"last_modified_date,omitempty"`

	// The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
	LastModifiedUser *string `json:"lastModifiedUser,omitempty" tf:"last_modified_user,omitempty"`

	// The SHA-256 hash signature for the content of the approval rule template.
	RuleContentSha256 *string `json:"ruleContentSha256,omitempty" tf:"rule_content_sha256,omitempty"`
}

func (*ApprovalRuleTemplateObservation) DeepCopy

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

func (*ApprovalRuleTemplateObservation) DeepCopyInto

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

type ApprovalRuleTemplateParameters

type ApprovalRuleTemplateParameters struct {

	// The content of the approval rule template. Maximum of 3000 characters.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The description of the approval rule template. Maximum of 1000 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,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:"-"`
}

func (*ApprovalRuleTemplateParameters) DeepCopy

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

func (*ApprovalRuleTemplateParameters) DeepCopyInto

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

type ApprovalRuleTemplateSpec

type ApprovalRuleTemplateSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ApprovalRuleTemplateParameters `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 ApprovalRuleTemplateInitParameters `json:"initProvider,omitempty"`
}

ApprovalRuleTemplateSpec defines the desired state of ApprovalRuleTemplate

func (*ApprovalRuleTemplateSpec) DeepCopy

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

func (*ApprovalRuleTemplateSpec) DeepCopyInto

func (in *ApprovalRuleTemplateSpec) DeepCopyInto(out *ApprovalRuleTemplateSpec)

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

type ApprovalRuleTemplateStatus

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

ApprovalRuleTemplateStatus defines the observed state of ApprovalRuleTemplate.

func (*ApprovalRuleTemplateStatus) DeepCopy

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

func (*ApprovalRuleTemplateStatus) DeepCopyInto

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

type Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RepositorySpec   `json:"spec"`
	Status            RepositoryStatus `json:"status,omitempty"`
}

Repository is the Schema for the Repositorys API. Provides a CodeCommit Repository 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 (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

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

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

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

func (*Repository) DeepCopyObject

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

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

func (*Repository) GetCondition

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

GetCondition of this Repository.

func (*Repository) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Repository

func (*Repository) GetDeletionPolicy

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

GetDeletionPolicy of this Repository.

func (*Repository) GetID

func (tr *Repository) GetID() string

GetID returns ID of underlying Terraform resource of this Repository

func (*Repository) GetInitParameters added in v0.38.0

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

GetInitParameters of this Repository

func (*Repository) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Repository.

func (*Repository) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Repository

func (*Repository) GetObservation

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

GetObservation of this Repository

func (*Repository) GetParameters

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

GetParameters of this Repository

func (*Repository) GetProviderConfigReference

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

GetProviderConfigReference of this Repository.

func (*Repository) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Repository.

func (*Repository) GetTerraformResourceType

func (mg *Repository) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Repository

func (*Repository) GetTerraformSchemaVersion

func (tr *Repository) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Repository) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Repository.

func (*Repository) Hub added in v0.47.2

func (tr *Repository) Hub()

Hub marks this type as a conversion hub.

func (*Repository) LateInitialize

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

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

func (*Repository) ResolveReferences added in v1.5.0

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

ResolveReferences of this Repository.

func (*Repository) SetConditions

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

SetConditions of this Repository.

func (*Repository) SetDeletionPolicy

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

SetDeletionPolicy of this Repository.

func (*Repository) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Repository.

func (*Repository) SetObservation

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

SetObservation for this Repository

func (*Repository) SetParameters

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

SetParameters for this Repository

func (*Repository) SetProviderConfigReference

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

SetProviderConfigReference of this Repository.

func (*Repository) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Repository.

func (*Repository) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Repository.

type RepositoryInitParameters added in v0.38.0

type RepositoryInitParameters struct {

	// The default branch of the repository. The branch specified here needs to exist.
	DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch,omitempty"`

	// The description of the repository. This needs to be less than 1000 characters
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ARN of the encryption key. If no key is specified, the default aws/codecommit Amazon Web Services managed key is used.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	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:"-"`

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

func (*RepositoryInitParameters) DeepCopy added in v0.38.0

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

func (*RepositoryInitParameters) DeepCopyInto added in v0.38.0

func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters)

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

type RepositoryList

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

RepositoryList contains a list of Repositorys

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

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

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

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

func (*RepositoryList) DeepCopyObject

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

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

func (*RepositoryList) GetItems

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

GetItems of this RepositoryList.

type RepositoryObservation

type RepositoryObservation struct {

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

	// The URL to use for cloning the repository over HTTPS.
	CloneURLHTTP *string `json:"cloneUrlHttp,omitempty" tf:"clone_url_http,omitempty"`

	// The URL to use for cloning the repository over SSH.
	CloneURLSSH *string `json:"cloneUrlSsh,omitempty" tf:"clone_url_ssh,omitempty"`

	// The default branch of the repository. The branch specified here needs to exist.
	DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch,omitempty"`

	// The description of the repository. This needs to be less than 1000 characters
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ARN of the encryption key. If no key is specified, the default aws/codecommit Amazon Web Services managed key is used.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// The ID of the repository
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_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 (*RepositoryObservation) DeepCopy

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

func (*RepositoryObservation) DeepCopyInto

func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation)

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

type RepositoryParameters

type RepositoryParameters struct {

	// The default branch of the repository. The branch specified here needs to exist.
	// +kubebuilder:validation:Optional
	DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch,omitempty"`

	// The description of the repository. This needs to be less than 1000 characters
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ARN of the encryption key. If no key is specified, the default aws/codecommit Amazon Web Services managed key is used.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +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:"-"`

	// 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 (*RepositoryParameters) DeepCopy

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

func (*RepositoryParameters) DeepCopyInto

func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)

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

type RepositorySpec

type RepositorySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryParameters `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 RepositoryInitParameters `json:"initProvider,omitempty"`
}

RepositorySpec defines the desired state of Repository

func (*RepositorySpec) DeepCopy

func (in *RepositorySpec) DeepCopy() *RepositorySpec

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

func (*RepositorySpec) DeepCopyInto

func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)

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

type RepositoryStatus

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

RepositoryStatus defines the observed state of Repository.

func (*RepositoryStatus) DeepCopy

func (in *RepositoryStatus) DeepCopy() *RepositoryStatus

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

func (*RepositoryStatus) DeepCopyInto

func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)

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

type Trigger

type Trigger 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.trigger) || (has(self.initProvider) && has(self.initProvider.trigger))",message="spec.forProvider.trigger is a required parameter"
	Spec   TriggerSpec   `json:"spec"`
	Status TriggerStatus `json:"status,omitempty"`
}

Trigger is the Schema for the Triggers API. Provides a CodeCommit Trigger 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 (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

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

func (*Trigger) DeepCopyObject

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

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

func (*Trigger) GetCondition

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

GetCondition of this Trigger.

func (*Trigger) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Trigger

func (*Trigger) GetDeletionPolicy

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

GetDeletionPolicy of this Trigger.

func (*Trigger) GetID

func (tr *Trigger) GetID() string

GetID returns ID of underlying Terraform resource of this Trigger

func (*Trigger) GetInitParameters added in v0.38.0

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

GetInitParameters of this Trigger

func (*Trigger) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Trigger.

func (*Trigger) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Trigger

func (*Trigger) GetObservation

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

GetObservation of this Trigger

func (*Trigger) GetParameters

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

GetParameters of this Trigger

func (*Trigger) GetProviderConfigReference

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

GetProviderConfigReference of this Trigger.

func (*Trigger) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Trigger.

func (*Trigger) GetTerraformResourceType

func (mg *Trigger) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Trigger

func (*Trigger) GetTerraformSchemaVersion

func (tr *Trigger) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Trigger) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Trigger.

func (*Trigger) Hub added in v0.47.2

func (tr *Trigger) Hub()

Hub marks this type as a conversion hub.

func (*Trigger) LateInitialize

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

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

func (*Trigger) ResolveReferences

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

ResolveReferences of this Trigger.

func (*Trigger) SetConditions

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

SetConditions of this Trigger.

func (*Trigger) SetDeletionPolicy

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

SetDeletionPolicy of this Trigger.

func (*Trigger) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Trigger.

func (*Trigger) SetObservation

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

SetObservation for this Trigger

func (*Trigger) SetParameters

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

SetParameters for this Trigger

func (*Trigger) SetProviderConfigReference

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

SetProviderConfigReference of this Trigger.

func (*Trigger) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Trigger.

func (*Trigger) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Trigger.

type TriggerInitParameters added in v0.38.0

type TriggerInitParameters struct {

	// The name for the repository. This needs to be less than 100 characters.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codecommit/v1beta1.Repository
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// Reference to a Repository in codecommit to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"`

	// Selector for a Repository in codecommit to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"`

	// The name of the trigger.
	Trigger []TriggerTriggerInitParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}

func (*TriggerInitParameters) DeepCopy added in v0.38.0

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

func (*TriggerInitParameters) DeepCopyInto added in v0.38.0

func (in *TriggerInitParameters) DeepCopyInto(out *TriggerInitParameters)

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

type TriggerList

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

TriggerList contains a list of Triggers

func (*TriggerList) DeepCopy

func (in *TriggerList) DeepCopy() *TriggerList

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

func (*TriggerList) DeepCopyInto

func (in *TriggerList) DeepCopyInto(out *TriggerList)

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

func (*TriggerList) DeepCopyObject

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

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

func (*TriggerList) GetItems

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

GetItems of this TriggerList.

type TriggerObservation

type TriggerObservation struct {

	// System-generated unique identifier.
	ConfigurationID *string `json:"configurationId,omitempty" tf:"configuration_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// The name of the trigger.
	Trigger []TriggerTriggerObservation `json:"trigger,omitempty" tf:"trigger,omitempty"`
}

func (*TriggerObservation) DeepCopy

func (in *TriggerObservation) DeepCopy() *TriggerObservation

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

func (*TriggerObservation) DeepCopyInto

func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation)

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

type TriggerParameters

type TriggerParameters struct {

	// 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 name for the repository. This needs to be less than 100 characters.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codecommit/v1beta1.Repository
	// +kubebuilder:validation:Optional
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// Reference to a Repository in codecommit to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"`

	// Selector for a Repository in codecommit to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"`

	// The name of the trigger.
	// +kubebuilder:validation:Optional
	Trigger []TriggerTriggerParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}

func (*TriggerParameters) DeepCopy

func (in *TriggerParameters) DeepCopy() *TriggerParameters

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

func (*TriggerParameters) DeepCopyInto

func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters)

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

type TriggerSpec

type TriggerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TriggerParameters `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 TriggerInitParameters `json:"initProvider,omitempty"`
}

TriggerSpec defines the desired state of Trigger

func (*TriggerSpec) DeepCopy

func (in *TriggerSpec) DeepCopy() *TriggerSpec

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

func (*TriggerSpec) DeepCopyInto

func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)

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

type TriggerStatus

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

TriggerStatus defines the observed state of Trigger.

func (*TriggerStatus) DeepCopy

func (in *TriggerStatus) DeepCopy() *TriggerStatus

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

func (*TriggerStatus) DeepCopyInto

func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)

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

type TriggerTriggerInitParameters added in v0.38.0

type TriggerTriggerInitParameters struct {

	// The branches that will be included in the trigger configuration. If no branches   are specified, the trigger will apply to all branches.
	Branches []*string `json:"branches,omitempty" tf:"branches,omitempty"`

	// Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
	CustomData *string `json:"customData,omitempty" tf:"custom_data,omitempty"`

	// The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// Reference to a Topic in sns to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnRef *v1.Reference `json:"destinationArnRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnSelector *v1.Selector `json:"destinationArnSelector,omitempty" tf:"-"`

	// The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference.
	Events []*string `json:"events,omitempty" tf:"events,omitempty"`

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

func (*TriggerTriggerInitParameters) DeepCopy added in v0.38.0

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

func (*TriggerTriggerInitParameters) DeepCopyInto added in v0.38.0

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

type TriggerTriggerObservation

type TriggerTriggerObservation struct {

	// The branches that will be included in the trigger configuration. If no branches   are specified, the trigger will apply to all branches.
	Branches []*string `json:"branches,omitempty" tf:"branches,omitempty"`

	// Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
	CustomData *string `json:"customData,omitempty" tf:"custom_data,omitempty"`

	// The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference.
	Events []*string `json:"events,omitempty" tf:"events,omitempty"`

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

func (*TriggerTriggerObservation) DeepCopy

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

func (*TriggerTriggerObservation) DeepCopyInto

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

type TriggerTriggerParameters

type TriggerTriggerParameters struct {

	// The branches that will be included in the trigger configuration. If no branches   are specified, the trigger will apply to all branches.
	// +kubebuilder:validation:Optional
	Branches []*string `json:"branches,omitempty" tf:"branches,omitempty"`

	// Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
	// +kubebuilder:validation:Optional
	CustomData *string `json:"customData,omitempty" tf:"custom_data,omitempty"`

	// The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// Reference to a Topic in sns to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnRef *v1.Reference `json:"destinationArnRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnSelector *v1.Selector `json:"destinationArnSelector,omitempty" tf:"-"`

	// The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference.
	// +kubebuilder:validation:Optional
	Events []*string `json:"events" tf:"events,omitempty"`

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

func (*TriggerTriggerParameters) DeepCopy

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

func (*TriggerTriggerParameters) DeepCopyInto

func (in *TriggerTriggerParameters) DeepCopyInto(out *TriggerTriggerParameters)

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