v1beta2

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=servicecatalog.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "servicecatalog.aws.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

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 (
	Product_Kind             = "Product"
	Product_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Product_Kind}.String()
	Product_KindAPIVersion   = Product_Kind + "." + CRDGroupVersion.String()
	Product_GroupVersionKind = CRDGroupVersion.WithKind(Product_Kind)
)

Repository type metadata.

View Source
var (
	ServiceAction_Kind             = "ServiceAction"
	ServiceAction_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceAction_Kind}.String()
	ServiceAction_KindAPIVersion   = ServiceAction_Kind + "." + CRDGroupVersion.String()
	ServiceAction_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAction_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DefinitionInitParameters

type DefinitionInitParameters struct {

	// ARN of the role that performs the self-service actions on your behalf. For example, arn:aws:iam::12345678910:role/ActionRole. To reuse the provisioned product launch role, set to LAUNCH_ROLE.
	AssumeRole *string `json:"assumeRole,omitempty" tf:"assume_role,omitempty"`

	// Name of the SSM document. For example, AWS-RestartEC2Instance. If you are using a shared SSM document, you must provide the ARN instead of the name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// List of parameters in JSON format. For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] or [{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// Service action definition type. Valid value is SSM_AUTOMATION. Default is SSM_AUTOMATION.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// SSM document version. For example, 1.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*DefinitionInitParameters) DeepCopy

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

func (*DefinitionInitParameters) DeepCopyInto

func (in *DefinitionInitParameters) DeepCopyInto(out *DefinitionInitParameters)

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

type DefinitionObservation

type DefinitionObservation struct {

	// ARN of the role that performs the self-service actions on your behalf. For example, arn:aws:iam::12345678910:role/ActionRole. To reuse the provisioned product launch role, set to LAUNCH_ROLE.
	AssumeRole *string `json:"assumeRole,omitempty" tf:"assume_role,omitempty"`

	// Name of the SSM document. For example, AWS-RestartEC2Instance. If you are using a shared SSM document, you must provide the ARN instead of the name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// List of parameters in JSON format. For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] or [{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// Service action definition type. Valid value is SSM_AUTOMATION. Default is SSM_AUTOMATION.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// SSM document version. For example, 1.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*DefinitionObservation) DeepCopy

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

func (*DefinitionObservation) DeepCopyInto

func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation)

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

type DefinitionParameters

type DefinitionParameters struct {

	// ARN of the role that performs the self-service actions on your behalf. For example, arn:aws:iam::12345678910:role/ActionRole. To reuse the provisioned product launch role, set to LAUNCH_ROLE.
	// +kubebuilder:validation:Optional
	AssumeRole *string `json:"assumeRole,omitempty" tf:"assume_role,omitempty"`

	// Name of the SSM document. For example, AWS-RestartEC2Instance. If you are using a shared SSM document, you must provide the ARN instead of the name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// List of parameters in JSON format. For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] or [{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// Service action definition type. Valid value is SSM_AUTOMATION. Default is SSM_AUTOMATION.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// SSM document version. For example, 1.
	// +kubebuilder:validation:Optional
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*DefinitionParameters) DeepCopy

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

func (*DefinitionParameters) DeepCopyInto

func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters)

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

type Product

type Product 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.owner) || (has(self.initProvider) && has(self.initProvider.owner))",message="spec.forProvider.owner is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.provisioningArtifactParameters) || (has(self.initProvider) && has(self.initProvider.provisioningArtifactParameters))",message="spec.forProvider.provisioningArtifactParameters is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   ProductSpec   `json:"spec"`
	Status ProductStatus `json:"status,omitempty"`
}

Product is the Schema for the Products API. Manages a Service Catalog Product +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 (*Product) DeepCopy

func (in *Product) DeepCopy() *Product

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

func (*Product) DeepCopyInto

func (in *Product) DeepCopyInto(out *Product)

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

func (*Product) DeepCopyObject

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

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

func (*Product) GetCondition

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

GetCondition of this Product.

func (*Product) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Product

func (*Product) GetDeletionPolicy

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

GetDeletionPolicy of this Product.

func (*Product) GetID

func (tr *Product) GetID() string

GetID returns ID of underlying Terraform resource of this Product

func (*Product) GetInitParameters

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

GetInitParameters of this Product

func (*Product) GetManagementPolicies

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

GetManagementPolicies of this Product.

func (*Product) GetMergedParameters

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

GetInitParameters of this Product

func (*Product) GetObservation

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

GetObservation of this Product

func (*Product) GetParameters

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

GetParameters of this Product

func (*Product) GetProviderConfigReference

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

GetProviderConfigReference of this Product.

func (*Product) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Product.

func (*Product) GetTerraformResourceType

func (mg *Product) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Product

func (*Product) GetTerraformSchemaVersion

func (tr *Product) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Product) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Product.

func (*Product) Hub

func (tr *Product) Hub()

Hub marks this type as a conversion hub.

func (*Product) LateInitialize

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

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

func (*Product) SetConditions

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

SetConditions of this Product.

func (*Product) SetDeletionPolicy

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

SetDeletionPolicy of this Product.

func (*Product) SetManagementPolicies

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

SetManagementPolicies of this Product.

func (*Product) SetObservation

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

SetObservation for this Product

func (*Product) SetParameters

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

SetParameters for this Product

func (*Product) SetProviderConfigReference

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

SetProviderConfigReference of this Product.

func (*Product) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Product.

func (*Product) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Product.

type ProductInitParameters

type ProductInitParameters struct {

	// Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
	AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"`

	// Description of the product.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Distributor (i.e., vendor) of the product.
	Distributor *string `json:"distributor,omitempty" tf:"distributor,omitempty"`

	// Name of the product.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Owner of the product.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// Configuration block for provisioning artifact (i.e., version) parameters. See provisioning_artifact_parameters Block for details.
	ProvisioningArtifactParameters *ProvisioningArtifactParametersInitParameters `json:"provisioningArtifactParameters,omitempty" tf:"provisioning_artifact_parameters,omitempty"`

	// Support information about the product.
	SupportDescription *string `json:"supportDescription,omitempty" tf:"support_description,omitempty"`

	// Contact email for product support.
	SupportEmail *string `json:"supportEmail,omitempty" tf:"support_email,omitempty"`

	// Contact URL for product support.
	SupportURL *string `json:"supportUrl,omitempty" tf:"support_url,omitempty"`

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

	// Type of product. See AWS Docs for valid list of values.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProductInitParameters) DeepCopy

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

func (*ProductInitParameters) DeepCopyInto

func (in *ProductInitParameters) DeepCopyInto(out *ProductInitParameters)

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

type ProductList

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

ProductList contains a list of Products

func (*ProductList) DeepCopy

func (in *ProductList) DeepCopy() *ProductList

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

func (*ProductList) DeepCopyInto

func (in *ProductList) DeepCopyInto(out *ProductList)

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

func (*ProductList) DeepCopyObject

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

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

func (*ProductList) GetItems

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

GetItems of this ProductList.

type ProductObservation

type ProductObservation struct {

	// Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
	AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"`

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

	// Time when the product was created.
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time,omitempty"`

	// Description of the product.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Distributor (i.e., vendor) of the product.
	Distributor *string `json:"distributor,omitempty" tf:"distributor,omitempty"`

	// Whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths.  Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters.
	HasDefaultPath *bool `json:"hasDefaultPath,omitempty" tf:"has_default_path,omitempty"`

	// Product ID. For example, prod-dnigbtea24ste.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the product.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Owner of the product.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// Configuration block for provisioning artifact (i.e., version) parameters. See provisioning_artifact_parameters Block for details.
	ProvisioningArtifactParameters *ProvisioningArtifactParametersObservation `json:"provisioningArtifactParameters,omitempty" tf:"provisioning_artifact_parameters,omitempty"`

	// Status of the product.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Support information about the product.
	SupportDescription *string `json:"supportDescription,omitempty" tf:"support_description,omitempty"`

	// Contact email for product support.
	SupportEmail *string `json:"supportEmail,omitempty" tf:"support_email,omitempty"`

	// Contact URL for product support.
	SupportURL *string `json:"supportUrl,omitempty" tf:"support_url,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"`

	// Type of product. See AWS Docs for valid list of values.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProductObservation) DeepCopy

func (in *ProductObservation) DeepCopy() *ProductObservation

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

func (*ProductObservation) DeepCopyInto

func (in *ProductObservation) DeepCopyInto(out *ProductObservation)

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

type ProductParameters

type ProductParameters struct {

	// Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
	// +kubebuilder:validation:Optional
	AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"`

	// Description of the product.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Distributor (i.e., vendor) of the product.
	// +kubebuilder:validation:Optional
	Distributor *string `json:"distributor,omitempty" tf:"distributor,omitempty"`

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

	// Owner of the product.
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// Configuration block for provisioning artifact (i.e., version) parameters. See provisioning_artifact_parameters Block for details.
	// +kubebuilder:validation:Optional
	ProvisioningArtifactParameters *ProvisioningArtifactParametersParameters `json:"provisioningArtifactParameters,omitempty" tf:"provisioning_artifact_parameters,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:"-"`

	// Support information about the product.
	// +kubebuilder:validation:Optional
	SupportDescription *string `json:"supportDescription,omitempty" tf:"support_description,omitempty"`

	// Contact email for product support.
	// +kubebuilder:validation:Optional
	SupportEmail *string `json:"supportEmail,omitempty" tf:"support_email,omitempty"`

	// Contact URL for product support.
	// +kubebuilder:validation:Optional
	SupportURL *string `json:"supportUrl,omitempty" tf:"support_url,omitempty"`

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

	// Type of product. See AWS Docs for valid list of values.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProductParameters) DeepCopy

func (in *ProductParameters) DeepCopy() *ProductParameters

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

func (*ProductParameters) DeepCopyInto

func (in *ProductParameters) DeepCopyInto(out *ProductParameters)

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

type ProductSpec

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

ProductSpec defines the desired state of Product

func (*ProductSpec) DeepCopy

func (in *ProductSpec) DeepCopy() *ProductSpec

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

func (*ProductSpec) DeepCopyInto

func (in *ProductSpec) DeepCopyInto(out *ProductSpec)

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

type ProductStatus

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

ProductStatus defines the observed state of Product.

func (*ProductStatus) DeepCopy

func (in *ProductStatus) DeepCopy() *ProductStatus

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

func (*ProductStatus) DeepCopyInto

func (in *ProductStatus) DeepCopyInto(out *ProductStatus)

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

type ProvisioningArtifactParametersInitParameters

type ProvisioningArtifactParametersInitParameters struct {

	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation *bool `json:"disableTemplateValidation,omitempty" tf:"disable_template_validation,omitempty"`

	// Name of the provisioning artifact (for example, v1, v2beta). No spaces are allowed.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID].
	TemplatePhysicalID *string `json:"templatePhysicalId,omitempty" tf:"template_physical_id,omitempty"`

	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`

	// Type of provisioning artifact. See AWS Docs for valid list of values.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProvisioningArtifactParametersInitParameters) DeepCopy

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

func (*ProvisioningArtifactParametersInitParameters) DeepCopyInto

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

type ProvisioningArtifactParametersObservation

type ProvisioningArtifactParametersObservation struct {

	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation *bool `json:"disableTemplateValidation,omitempty" tf:"disable_template_validation,omitempty"`

	// Name of the provisioning artifact (for example, v1, v2beta). No spaces are allowed.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID].
	TemplatePhysicalID *string `json:"templatePhysicalId,omitempty" tf:"template_physical_id,omitempty"`

	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`

	// Type of provisioning artifact. See AWS Docs for valid list of values.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProvisioningArtifactParametersObservation) DeepCopy

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

func (*ProvisioningArtifactParametersObservation) DeepCopyInto

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

type ProvisioningArtifactParametersParameters

type ProvisioningArtifactParametersParameters struct {

	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	// +kubebuilder:validation:Optional
	DisableTemplateValidation *bool `json:"disableTemplateValidation,omitempty" tf:"disable_template_validation,omitempty"`

	// Name of the provisioning artifact (for example, v1, v2beta). No spaces are allowed.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID].
	// +kubebuilder:validation:Optional
	TemplatePhysicalID *string `json:"templatePhysicalId,omitempty" tf:"template_physical_id,omitempty"`

	// Template source as URL of the CloudFormation template in Amazon S3.
	// +kubebuilder:validation:Optional
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`

	// Type of provisioning artifact. See AWS Docs for valid list of values.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProvisioningArtifactParametersParameters) DeepCopy

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

func (*ProvisioningArtifactParametersParameters) DeepCopyInto

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

type ServiceAction

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

ServiceAction is the Schema for the ServiceActions API. Manages a Service Catalog Service Action +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 (*ServiceAction) DeepCopy

func (in *ServiceAction) DeepCopy() *ServiceAction

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

func (*ServiceAction) DeepCopyInto

func (in *ServiceAction) DeepCopyInto(out *ServiceAction)

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

func (*ServiceAction) DeepCopyObject

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

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

func (*ServiceAction) GetCondition

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

GetCondition of this ServiceAction.

func (*ServiceAction) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ServiceAction

func (*ServiceAction) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceAction.

func (*ServiceAction) GetID

func (tr *ServiceAction) GetID() string

GetID returns ID of underlying Terraform resource of this ServiceAction

func (*ServiceAction) GetInitParameters

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

GetInitParameters of this ServiceAction

func (*ServiceAction) GetManagementPolicies

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

GetManagementPolicies of this ServiceAction.

func (*ServiceAction) GetMergedParameters

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

GetInitParameters of this ServiceAction

func (*ServiceAction) GetObservation

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

GetObservation of this ServiceAction

func (*ServiceAction) GetParameters

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

GetParameters of this ServiceAction

func (*ServiceAction) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceAction.

func (*ServiceAction) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServiceAction.

func (*ServiceAction) GetTerraformResourceType

func (mg *ServiceAction) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceAction

func (*ServiceAction) GetTerraformSchemaVersion

func (tr *ServiceAction) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceAction) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceAction.

func (*ServiceAction) Hub

func (tr *ServiceAction) Hub()

Hub marks this type as a conversion hub.

func (*ServiceAction) LateInitialize

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

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

func (*ServiceAction) SetConditions

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

SetConditions of this ServiceAction.

func (*ServiceAction) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceAction.

func (*ServiceAction) SetManagementPolicies

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

SetManagementPolicies of this ServiceAction.

func (*ServiceAction) SetObservation

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

SetObservation for this ServiceAction

func (*ServiceAction) SetParameters

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

SetParameters for this ServiceAction

func (*ServiceAction) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceAction.

func (*ServiceAction) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServiceAction.

func (*ServiceAction) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceAction.

type ServiceActionInitParameters

type ServiceActionInitParameters struct {

	// Language code. Valid values are en (English), jp (Japanese), and zh (Chinese). Default is en.
	AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"`

	// Self-service action definition configuration block. Detailed below.
	Definition *DefinitionInitParameters `json:"definition,omitempty" tf:"definition,omitempty"`

	// Self-service action description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Self-service action name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ServiceActionInitParameters) DeepCopy

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

func (*ServiceActionInitParameters) DeepCopyInto

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

type ServiceActionList

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

ServiceActionList contains a list of ServiceActions

func (*ServiceActionList) DeepCopy

func (in *ServiceActionList) DeepCopy() *ServiceActionList

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

func (*ServiceActionList) DeepCopyInto

func (in *ServiceActionList) DeepCopyInto(out *ServiceActionList)

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

func (*ServiceActionList) DeepCopyObject

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

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

func (*ServiceActionList) GetItems

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

GetItems of this ServiceActionList.

type ServiceActionObservation

type ServiceActionObservation struct {

	// Language code. Valid values are en (English), jp (Japanese), and zh (Chinese). Default is en.
	AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"`

	// Self-service action definition configuration block. Detailed below.
	Definition *DefinitionObservation `json:"definition,omitempty" tf:"definition,omitempty"`

	// Self-service action description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Identifier of the service action.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Self-service action name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ServiceActionObservation) DeepCopy

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

func (*ServiceActionObservation) DeepCopyInto

func (in *ServiceActionObservation) DeepCopyInto(out *ServiceActionObservation)

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

type ServiceActionParameters

type ServiceActionParameters struct {

	// Language code. Valid values are en (English), jp (Japanese), and zh (Chinese). Default is en.
	// +kubebuilder:validation:Optional
	AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"`

	// Self-service action definition configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	Definition *DefinitionParameters `json:"definition,omitempty" tf:"definition,omitempty"`

	// Self-service action description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Self-service action name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"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:"-"`
}

func (*ServiceActionParameters) DeepCopy

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

func (*ServiceActionParameters) DeepCopyInto

func (in *ServiceActionParameters) DeepCopyInto(out *ServiceActionParameters)

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

type ServiceActionSpec

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

ServiceActionSpec defines the desired state of ServiceAction

func (*ServiceActionSpec) DeepCopy

func (in *ServiceActionSpec) DeepCopy() *ServiceActionSpec

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

func (*ServiceActionSpec) DeepCopyInto

func (in *ServiceActionSpec) DeepCopyInto(out *ServiceActionSpec)

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

type ServiceActionStatus

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

ServiceActionStatus defines the observed state of ServiceAction.

func (*ServiceActionStatus) DeepCopy

func (in *ServiceActionStatus) DeepCopy() *ServiceActionStatus

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

func (*ServiceActionStatus) DeepCopyInto

func (in *ServiceActionStatus) DeepCopyInto(out *ServiceActionStatus)

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