v1beta1

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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 (
	PrincipalAssociation_Kind             = "PrincipalAssociation"
	PrincipalAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PrincipalAssociation_Kind}.String()
	PrincipalAssociation_KindAPIVersion   = PrincipalAssociation_Kind + "." + CRDGroupVersion.String()
	PrincipalAssociation_GroupVersionKind = CRDGroupVersion.WithKind(PrincipalAssociation_Kind)
)

Repository type metadata.

View Source
var (
	ResourceAssociation_Kind             = "ResourceAssociation"
	ResourceAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceAssociation_Kind}.String()
	ResourceAssociation_KindAPIVersion   = ResourceAssociation_Kind + "." + CRDGroupVersion.String()
	ResourceAssociation_GroupVersionKind = CRDGroupVersion.WithKind(ResourceAssociation_Kind)
)

Repository type metadata.

View Source
var (
	ResourceShare_Kind             = "ResourceShare"
	ResourceShare_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceShare_Kind}.String()
	ResourceShare_KindAPIVersion   = ResourceShare_Kind + "." + CRDGroupVersion.String()
	ResourceShare_GroupVersionKind = CRDGroupVersion.WithKind(ResourceShare_Kind)
)

Repository type metadata.

View Source
var (
	ResourceShareAccepter_Kind             = "ResourceShareAccepter"
	ResourceShareAccepter_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceShareAccepter_Kind}.String()
	ResourceShareAccepter_KindAPIVersion   = ResourceShareAccepter_Kind + "." + CRDGroupVersion.String()
	ResourceShareAccepter_GroupVersionKind = CRDGroupVersion.WithKind(ResourceShareAccepter_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type PrincipalAssociation added in v0.39.0

type PrincipalAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PrincipalAssociationSpec   `json:"spec"`
	Status            PrincipalAssociationStatus `json:"status,omitempty"`
}

PrincipalAssociation is the Schema for the PrincipalAssociations API. Provides a Resource Access Manager (RAM) principal association. +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 (*PrincipalAssociation) DeepCopy added in v0.39.0

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

func (*PrincipalAssociation) DeepCopyInto added in v0.39.0

func (in *PrincipalAssociation) DeepCopyInto(out *PrincipalAssociation)

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

func (*PrincipalAssociation) DeepCopyObject added in v0.39.0

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

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

func (*PrincipalAssociation) GetCondition added in v0.39.0

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

GetCondition of this PrincipalAssociation.

func (*PrincipalAssociation) GetConnectionDetailsMapping added in v0.39.0

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

GetConnectionDetailsMapping for this PrincipalAssociation

func (*PrincipalAssociation) GetDeletionPolicy added in v0.39.0

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

GetDeletionPolicy of this PrincipalAssociation.

func (*PrincipalAssociation) GetID added in v0.39.0

func (tr *PrincipalAssociation) GetID() string

GetID returns ID of underlying Terraform resource of this PrincipalAssociation

func (*PrincipalAssociation) GetInitParameters added in v0.39.0

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

GetInitParameters of this PrincipalAssociation

func (*PrincipalAssociation) GetManagementPolicies added in v0.39.0

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

GetManagementPolicies of this PrincipalAssociation.

func (*PrincipalAssociation) GetMergedParameters added in v0.44.0

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

GetInitParameters of this PrincipalAssociation

func (*PrincipalAssociation) GetObservation added in v0.39.0

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

GetObservation of this PrincipalAssociation

func (*PrincipalAssociation) GetParameters added in v0.39.0

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

GetParameters of this PrincipalAssociation

func (*PrincipalAssociation) GetProviderConfigReference added in v0.39.0

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

GetProviderConfigReference of this PrincipalAssociation.

func (*PrincipalAssociation) GetPublishConnectionDetailsTo added in v0.39.0

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

GetPublishConnectionDetailsTo of this PrincipalAssociation.

func (*PrincipalAssociation) GetTerraformResourceType added in v0.39.0

func (mg *PrincipalAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PrincipalAssociation

func (*PrincipalAssociation) GetTerraformSchemaVersion added in v0.39.0

func (tr *PrincipalAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PrincipalAssociation) GetWriteConnectionSecretToReference added in v0.39.0

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

GetWriteConnectionSecretToReference of this PrincipalAssociation.

func (*PrincipalAssociation) Hub added in v0.47.2

func (tr *PrincipalAssociation) Hub()

Hub marks this type as a conversion hub.

func (*PrincipalAssociation) LateInitialize added in v0.39.0

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

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

func (*PrincipalAssociation) ResolveReferences added in v0.39.0

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

func (*PrincipalAssociation) SetConditions added in v0.39.0

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

SetConditions of this PrincipalAssociation.

func (*PrincipalAssociation) SetDeletionPolicy added in v0.39.0

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

SetDeletionPolicy of this PrincipalAssociation.

func (*PrincipalAssociation) SetManagementPolicies added in v0.39.0

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

SetManagementPolicies of this PrincipalAssociation.

func (*PrincipalAssociation) SetObservation added in v0.39.0

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

SetObservation for this PrincipalAssociation

func (*PrincipalAssociation) SetParameters added in v0.39.0

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

SetParameters for this PrincipalAssociation

func (*PrincipalAssociation) SetProviderConfigReference added in v0.39.0

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

SetProviderConfigReference of this PrincipalAssociation.

func (*PrincipalAssociation) SetPublishConnectionDetailsTo added in v0.39.0

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

SetPublishConnectionDetailsTo of this PrincipalAssociation.

func (*PrincipalAssociation) SetWriteConnectionSecretToReference added in v0.39.0

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

SetWriteConnectionSecretToReference of this PrincipalAssociation.

type PrincipalAssociationInitParameters added in v0.39.0

type PrincipalAssociationInitParameters struct {

	// The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/organizations/v1beta1.Organization
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// Reference to a Organization in organizations to populate principal.
	// +kubebuilder:validation:Optional
	PrincipalRef *v1.Reference `json:"principalRef,omitempty" tf:"-"`

	// Selector for a Organization in organizations to populate principal.
	// +kubebuilder:validation:Optional
	PrincipalSelector *v1.Selector `json:"principalSelector,omitempty" tf:"-"`

	// The Amazon Resource Name (ARN) of the resource share.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.ResourceShare
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"`

	// Reference to a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnRef *v1.Reference `json:"resourceShareArnRef,omitempty" tf:"-"`

	// Selector for a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnSelector *v1.Selector `json:"resourceShareArnSelector,omitempty" tf:"-"`
}

func (*PrincipalAssociationInitParameters) DeepCopy added in v0.39.0

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

func (*PrincipalAssociationInitParameters) DeepCopyInto added in v0.39.0

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

type PrincipalAssociationList added in v0.39.0

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

PrincipalAssociationList contains a list of PrincipalAssociations

func (*PrincipalAssociationList) DeepCopy added in v0.39.0

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

func (*PrincipalAssociationList) DeepCopyInto added in v0.39.0

func (in *PrincipalAssociationList) DeepCopyInto(out *PrincipalAssociationList)

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

func (*PrincipalAssociationList) DeepCopyObject added in v0.39.0

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

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

func (*PrincipalAssociationList) GetItems added in v0.39.0

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

GetItems of this PrincipalAssociationList.

type PrincipalAssociationObservation added in v0.39.0

type PrincipalAssociationObservation struct {

	// The Amazon Resource Name (ARN) of the Resource Share and the principal, separated by a comma.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN.
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"`
}

func (*PrincipalAssociationObservation) DeepCopy added in v0.39.0

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

func (*PrincipalAssociationObservation) DeepCopyInto added in v0.39.0

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

type PrincipalAssociationParameters added in v0.39.0

type PrincipalAssociationParameters struct {

	// The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/organizations/v1beta1.Organization
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// Reference to a Organization in organizations to populate principal.
	// +kubebuilder:validation:Optional
	PrincipalRef *v1.Reference `json:"principalRef,omitempty" tf:"-"`

	// Selector for a Organization in organizations to populate principal.
	// +kubebuilder:validation:Optional
	PrincipalSelector *v1.Selector `json:"principalSelector,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 Amazon Resource Name (ARN) of the resource share.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.ResourceShare
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"`

	// Reference to a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnRef *v1.Reference `json:"resourceShareArnRef,omitempty" tf:"-"`

	// Selector for a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnSelector *v1.Selector `json:"resourceShareArnSelector,omitempty" tf:"-"`
}

func (*PrincipalAssociationParameters) DeepCopy added in v0.39.0

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

func (*PrincipalAssociationParameters) DeepCopyInto added in v0.39.0

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

type PrincipalAssociationSpec added in v0.39.0

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

PrincipalAssociationSpec defines the desired state of PrincipalAssociation

func (*PrincipalAssociationSpec) DeepCopy added in v0.39.0

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

func (*PrincipalAssociationSpec) DeepCopyInto added in v0.39.0

func (in *PrincipalAssociationSpec) DeepCopyInto(out *PrincipalAssociationSpec)

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

type PrincipalAssociationStatus added in v0.39.0

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

PrincipalAssociationStatus defines the observed state of PrincipalAssociation.

func (*PrincipalAssociationStatus) DeepCopy added in v0.39.0

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

func (*PrincipalAssociationStatus) DeepCopyInto added in v0.39.0

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

type ResourceAssociation added in v0.32.0

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

ResourceAssociation is the Schema for the ResourceAssociations API. Manages a Resource Access Manager (RAM) Resource Association. +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 (*ResourceAssociation) DeepCopy added in v0.32.0

func (in *ResourceAssociation) DeepCopy() *ResourceAssociation

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

func (*ResourceAssociation) DeepCopyInto added in v0.32.0

func (in *ResourceAssociation) DeepCopyInto(out *ResourceAssociation)

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

func (*ResourceAssociation) DeepCopyObject added in v0.32.0

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

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

func (*ResourceAssociation) GetCondition added in v0.32.0

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

GetCondition of this ResourceAssociation.

func (*ResourceAssociation) GetConnectionDetailsMapping added in v0.32.0

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

GetConnectionDetailsMapping for this ResourceAssociation

func (*ResourceAssociation) GetDeletionPolicy added in v0.32.0

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

GetDeletionPolicy of this ResourceAssociation.

func (*ResourceAssociation) GetID added in v0.32.0

func (tr *ResourceAssociation) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceAssociation

func (*ResourceAssociation) GetInitParameters added in v0.38.0

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

GetInitParameters of this ResourceAssociation

func (*ResourceAssociation) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ResourceAssociation.

func (*ResourceAssociation) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ResourceAssociation

func (*ResourceAssociation) GetObservation added in v0.32.0

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

GetObservation of this ResourceAssociation

func (*ResourceAssociation) GetParameters added in v0.32.0

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

GetParameters of this ResourceAssociation

func (*ResourceAssociation) GetProviderConfigReference added in v0.32.0

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

GetProviderConfigReference of this ResourceAssociation.

func (*ResourceAssociation) GetPublishConnectionDetailsTo added in v0.32.0

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

GetPublishConnectionDetailsTo of this ResourceAssociation.

func (*ResourceAssociation) GetTerraformResourceType added in v0.32.0

func (mg *ResourceAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceAssociation

func (*ResourceAssociation) GetTerraformSchemaVersion added in v0.32.0

func (tr *ResourceAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceAssociation) GetWriteConnectionSecretToReference added in v0.32.0

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

GetWriteConnectionSecretToReference of this ResourceAssociation.

func (*ResourceAssociation) Hub added in v0.47.2

func (tr *ResourceAssociation) Hub()

Hub marks this type as a conversion hub.

func (*ResourceAssociation) LateInitialize added in v0.32.0

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

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

func (*ResourceAssociation) ResolveReferences added in v0.32.0

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

ResolveReferences of this ResourceAssociation.

func (*ResourceAssociation) SetConditions added in v0.32.0

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

SetConditions of this ResourceAssociation.

func (*ResourceAssociation) SetDeletionPolicy added in v0.32.0

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

SetDeletionPolicy of this ResourceAssociation.

func (*ResourceAssociation) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ResourceAssociation.

func (*ResourceAssociation) SetObservation added in v0.32.0

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

SetObservation for this ResourceAssociation

func (*ResourceAssociation) SetParameters added in v0.32.0

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

SetParameters for this ResourceAssociation

func (*ResourceAssociation) SetProviderConfigReference added in v0.32.0

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

SetProviderConfigReference of this ResourceAssociation.

func (*ResourceAssociation) SetPublishConnectionDetailsTo added in v0.32.0

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

SetPublishConnectionDetailsTo of this ResourceAssociation.

func (*ResourceAssociation) SetWriteConnectionSecretToReference added in v0.32.0

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

SetWriteConnectionSecretToReference of this ResourceAssociation.

type ResourceAssociationInitParameters added in v0.38.0

type ResourceAssociationInitParameters struct {

	// Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Amazon Resource Name (ARN) of the RAM Resource Share.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.ResourceShare
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"`

	// Reference to a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnRef *v1.Reference `json:"resourceShareArnRef,omitempty" tf:"-"`

	// Selector for a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnSelector *v1.Selector `json:"resourceShareArnSelector,omitempty" tf:"-"`
}

func (*ResourceAssociationInitParameters) DeepCopy added in v0.38.0

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

func (*ResourceAssociationInitParameters) DeepCopyInto added in v0.38.0

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

type ResourceAssociationList added in v0.32.0

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

ResourceAssociationList contains a list of ResourceAssociations

func (*ResourceAssociationList) DeepCopy added in v0.32.0

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

func (*ResourceAssociationList) DeepCopyInto added in v0.32.0

func (in *ResourceAssociationList) DeepCopyInto(out *ResourceAssociationList)

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

func (*ResourceAssociationList) DeepCopyObject added in v0.32.0

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

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

func (*ResourceAssociationList) GetItems added in v0.32.0

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

GetItems of this ResourceAssociationList.

type ResourceAssociationObservation added in v0.32.0

type ResourceAssociationObservation struct {

	// The Amazon Resource Name (ARN) of the resource share.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Amazon Resource Name (ARN) of the RAM Resource Share.
	ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"`
}

func (*ResourceAssociationObservation) DeepCopy added in v0.32.0

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

func (*ResourceAssociationObservation) DeepCopyInto added in v0.32.0

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

type ResourceAssociationParameters added in v0.32.0

type ResourceAssociationParameters 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:"-"`

	// Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share.
	// +kubebuilder:validation:Optional
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Amazon Resource Name (ARN) of the RAM Resource Share.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.ResourceShare
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"`

	// Reference to a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnRef *v1.Reference `json:"resourceShareArnRef,omitempty" tf:"-"`

	// Selector for a ResourceShare in ram to populate resourceShareArn.
	// +kubebuilder:validation:Optional
	ResourceShareArnSelector *v1.Selector `json:"resourceShareArnSelector,omitempty" tf:"-"`
}

func (*ResourceAssociationParameters) DeepCopy added in v0.32.0

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

func (*ResourceAssociationParameters) DeepCopyInto added in v0.32.0

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

type ResourceAssociationSpec added in v0.32.0

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

ResourceAssociationSpec defines the desired state of ResourceAssociation

func (*ResourceAssociationSpec) DeepCopy added in v0.32.0

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

func (*ResourceAssociationSpec) DeepCopyInto added in v0.32.0

func (in *ResourceAssociationSpec) DeepCopyInto(out *ResourceAssociationSpec)

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

type ResourceAssociationStatus added in v0.32.0

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

ResourceAssociationStatus defines the observed state of ResourceAssociation.

func (*ResourceAssociationStatus) DeepCopy added in v0.32.0

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

func (*ResourceAssociationStatus) DeepCopyInto added in v0.32.0

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

type ResourceShare

type ResourceShare 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"
	Spec   ResourceShareSpec   `json:"spec"`
	Status ResourceShareStatus `json:"status,omitempty"`
}

ResourceShare is the Schema for the ResourceShares API. Manages a Resource Access Manager (RAM) Resource Share. +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 (*ResourceShare) DeepCopy

func (in *ResourceShare) DeepCopy() *ResourceShare

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

func (*ResourceShare) DeepCopyInto

func (in *ResourceShare) DeepCopyInto(out *ResourceShare)

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

func (*ResourceShare) DeepCopyObject

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

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

func (*ResourceShare) GetCondition

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

GetCondition of this ResourceShare.

func (*ResourceShare) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourceShare

func (*ResourceShare) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceShare.

func (*ResourceShare) GetID

func (tr *ResourceShare) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceShare

func (*ResourceShare) GetInitParameters added in v0.38.0

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

GetInitParameters of this ResourceShare

func (*ResourceShare) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ResourceShare.

func (*ResourceShare) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ResourceShare

func (*ResourceShare) GetObservation

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

GetObservation of this ResourceShare

func (*ResourceShare) GetParameters

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

GetParameters of this ResourceShare

func (*ResourceShare) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceShare.

func (*ResourceShare) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceShare.

func (*ResourceShare) GetTerraformResourceType

func (mg *ResourceShare) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceShare

func (*ResourceShare) GetTerraformSchemaVersion

func (tr *ResourceShare) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceShare) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceShare.

func (*ResourceShare) Hub added in v0.47.2

func (tr *ResourceShare) Hub()

Hub marks this type as a conversion hub.

func (*ResourceShare) LateInitialize

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

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

func (*ResourceShare) SetConditions

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

SetConditions of this ResourceShare.

func (*ResourceShare) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceShare.

func (*ResourceShare) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ResourceShare.

func (*ResourceShare) SetObservation

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

SetObservation for this ResourceShare

func (*ResourceShare) SetParameters

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

SetParameters for this ResourceShare

func (*ResourceShare) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceShare.

func (*ResourceShare) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourceShare.

func (*ResourceShare) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourceShare.

type ResourceShareAccepter added in v0.39.0

type ResourceShareAccepter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceShareAccepterSpec   `json:"spec"`
	Status            ResourceShareAccepterStatus `json:"status,omitempty"`
}

ResourceShareAccepter is the Schema for the ResourceShareAccepters API. Manages accepting a Resource Access Manager (RAM) Resource Share invitation. +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 (*ResourceShareAccepter) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepter) DeepCopyInto added in v0.39.0

func (in *ResourceShareAccepter) DeepCopyInto(out *ResourceShareAccepter)

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

func (*ResourceShareAccepter) DeepCopyObject added in v0.39.0

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

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

func (*ResourceShareAccepter) GetCondition added in v0.39.0

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

GetCondition of this ResourceShareAccepter.

func (*ResourceShareAccepter) GetConnectionDetailsMapping added in v0.39.0

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

GetConnectionDetailsMapping for this ResourceShareAccepter

func (*ResourceShareAccepter) GetDeletionPolicy added in v0.39.0

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

GetDeletionPolicy of this ResourceShareAccepter.

func (*ResourceShareAccepter) GetID added in v0.39.0

func (tr *ResourceShareAccepter) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceShareAccepter

func (*ResourceShareAccepter) GetInitParameters added in v0.39.0

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

GetInitParameters of this ResourceShareAccepter

func (*ResourceShareAccepter) GetManagementPolicies added in v0.39.0

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

GetManagementPolicies of this ResourceShareAccepter.

func (*ResourceShareAccepter) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ResourceShareAccepter

func (*ResourceShareAccepter) GetObservation added in v0.39.0

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

GetObservation of this ResourceShareAccepter

func (*ResourceShareAccepter) GetParameters added in v0.39.0

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

GetParameters of this ResourceShareAccepter

func (*ResourceShareAccepter) GetProviderConfigReference added in v0.39.0

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

GetProviderConfigReference of this ResourceShareAccepter.

func (*ResourceShareAccepter) GetPublishConnectionDetailsTo added in v0.39.0

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

GetPublishConnectionDetailsTo of this ResourceShareAccepter.

func (*ResourceShareAccepter) GetTerraformResourceType added in v0.39.0

func (mg *ResourceShareAccepter) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceShareAccepter

func (*ResourceShareAccepter) GetTerraformSchemaVersion added in v0.39.0

func (tr *ResourceShareAccepter) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceShareAccepter) GetWriteConnectionSecretToReference added in v0.39.0

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

GetWriteConnectionSecretToReference of this ResourceShareAccepter.

func (*ResourceShareAccepter) Hub added in v0.47.2

func (tr *ResourceShareAccepter) Hub()

Hub marks this type as a conversion hub.

func (*ResourceShareAccepter) LateInitialize added in v0.39.0

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

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

func (*ResourceShareAccepter) ResolveReferences added in v0.39.0

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

ResolveReferences of this ResourceShareAccepter.

func (*ResourceShareAccepter) SetConditions added in v0.39.0

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

SetConditions of this ResourceShareAccepter.

func (*ResourceShareAccepter) SetDeletionPolicy added in v0.39.0

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

SetDeletionPolicy of this ResourceShareAccepter.

func (*ResourceShareAccepter) SetManagementPolicies added in v0.39.0

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

SetManagementPolicies of this ResourceShareAccepter.

func (*ResourceShareAccepter) SetObservation added in v0.39.0

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

SetObservation for this ResourceShareAccepter

func (*ResourceShareAccepter) SetParameters added in v0.39.0

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

SetParameters for this ResourceShareAccepter

func (*ResourceShareAccepter) SetProviderConfigReference added in v0.39.0

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

SetProviderConfigReference of this ResourceShareAccepter.

func (*ResourceShareAccepter) SetPublishConnectionDetailsTo added in v0.39.0

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

SetPublishConnectionDetailsTo of this ResourceShareAccepter.

func (*ResourceShareAccepter) SetWriteConnectionSecretToReference added in v0.39.0

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

SetWriteConnectionSecretToReference of this ResourceShareAccepter.

type ResourceShareAccepterInitParameters added in v0.39.0

type ResourceShareAccepterInitParameters struct {

	// The ARN of the resource share.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.PrincipalAssociation
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_share_arn",false)
	ShareArn *string `json:"shareArn,omitempty" tf:"share_arn,omitempty"`

	// Reference to a PrincipalAssociation in ram to populate shareArn.
	// +kubebuilder:validation:Optional
	ShareArnRef *v1.Reference `json:"shareArnRef,omitempty" tf:"-"`

	// Selector for a PrincipalAssociation in ram to populate shareArn.
	// +kubebuilder:validation:Optional
	ShareArnSelector *v1.Selector `json:"shareArnSelector,omitempty" tf:"-"`
}

func (*ResourceShareAccepterInitParameters) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepterInitParameters) DeepCopyInto added in v0.39.0

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

type ResourceShareAccepterList added in v0.39.0

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

ResourceShareAccepterList contains a list of ResourceShareAccepters

func (*ResourceShareAccepterList) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepterList) DeepCopyInto added in v0.39.0

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

func (*ResourceShareAccepterList) DeepCopyObject added in v0.39.0

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

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

func (*ResourceShareAccepterList) GetItems added in v0.39.0

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

GetItems of this ResourceShareAccepterList.

type ResourceShareAccepterObservation added in v0.39.0

type ResourceShareAccepterObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ARN of the resource share invitation.
	InvitationArn *string `json:"invitationArn,omitempty" tf:"invitation_arn,omitempty"`

	// The account ID of the receiver account which accepts the invitation.
	ReceiverAccountID *string `json:"receiverAccountId,omitempty" tf:"receiver_account_id,omitempty"`

	// A list of the resource ARNs shared via the resource share.
	Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"`

	// The account ID of the sender account which submits the invitation.
	SenderAccountID *string `json:"senderAccountId,omitempty" tf:"sender_account_id,omitempty"`

	// The ARN of the resource share.
	ShareArn *string `json:"shareArn,omitempty" tf:"share_arn,omitempty"`

	// The ID of the resource share as displayed in the console.
	ShareID *string `json:"shareId,omitempty" tf:"share_id,omitempty"`

	// The name of the resource share.
	ShareName *string `json:"shareName,omitempty" tf:"share_name,omitempty"`

	// The status of the resource share (ACTIVE, PENDING, FAILED, DELETING, DELETED).
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ResourceShareAccepterObservation) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepterObservation) DeepCopyInto added in v0.39.0

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

type ResourceShareAccepterParameters added in v0.39.0

type ResourceShareAccepterParameters 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 ARN of the resource share.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.PrincipalAssociation
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_share_arn",false)
	// +kubebuilder:validation:Optional
	ShareArn *string `json:"shareArn,omitempty" tf:"share_arn,omitempty"`

	// Reference to a PrincipalAssociation in ram to populate shareArn.
	// +kubebuilder:validation:Optional
	ShareArnRef *v1.Reference `json:"shareArnRef,omitempty" tf:"-"`

	// Selector for a PrincipalAssociation in ram to populate shareArn.
	// +kubebuilder:validation:Optional
	ShareArnSelector *v1.Selector `json:"shareArnSelector,omitempty" tf:"-"`
}

func (*ResourceShareAccepterParameters) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepterParameters) DeepCopyInto added in v0.39.0

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

type ResourceShareAccepterSpec added in v0.39.0

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

ResourceShareAccepterSpec defines the desired state of ResourceShareAccepter

func (*ResourceShareAccepterSpec) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepterSpec) DeepCopyInto added in v0.39.0

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

type ResourceShareAccepterStatus added in v0.39.0

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

ResourceShareAccepterStatus defines the observed state of ResourceShareAccepter.

func (*ResourceShareAccepterStatus) DeepCopy added in v0.39.0

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

func (*ResourceShareAccepterStatus) DeepCopyInto added in v0.39.0

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

type ResourceShareInitParameters added in v0.38.0

type ResourceShareInitParameters struct {

	// Indicates whether principals outside your organization can be associated with a resource share.
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty" tf:"allow_external_principals,omitempty"`

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

	// Specifies the Amazon Resource Names (ARNs) of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
	// +listType=set
	PermissionArns []*string `json:"permissionArns,omitempty" tf:"permission_arns,omitempty"`

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

func (*ResourceShareInitParameters) DeepCopy added in v0.38.0

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

func (*ResourceShareInitParameters) DeepCopyInto added in v0.38.0

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

type ResourceShareList

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

ResourceShareList contains a list of ResourceShares

func (*ResourceShareList) DeepCopy

func (in *ResourceShareList) DeepCopy() *ResourceShareList

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

func (*ResourceShareList) DeepCopyInto

func (in *ResourceShareList) DeepCopyInto(out *ResourceShareList)

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

func (*ResourceShareList) DeepCopyObject

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

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

func (*ResourceShareList) GetItems

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

GetItems of this ResourceShareList.

type ResourceShareObservation

type ResourceShareObservation struct {

	// Indicates whether principals outside your organization can be associated with a resource share.
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty" tf:"allow_external_principals,omitempty"`

	// The Amazon Resource Name (ARN) of the resource share.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The Amazon Resource Name (ARN) of the resource share.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

	// Specifies the Amazon Resource Names (ARNs) of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
	// +listType=set
	PermissionArns []*string `json:"permissionArns,omitempty" tf:"permission_arns,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 (*ResourceShareObservation) DeepCopy

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

func (*ResourceShareObservation) DeepCopyInto

func (in *ResourceShareObservation) DeepCopyInto(out *ResourceShareObservation)

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

type ResourceShareParameters

type ResourceShareParameters struct {

	// Indicates whether principals outside your organization can be associated with a resource share.
	// +kubebuilder:validation:Optional
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty" tf:"allow_external_principals,omitempty"`

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

	// Specifies the Amazon Resource Names (ARNs) of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
	// +kubebuilder:validation:Optional
	// +listType=set
	PermissionArns []*string `json:"permissionArns,omitempty" tf:"permission_arns,omitempty"`

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

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

func (*ResourceShareParameters) DeepCopy

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

func (*ResourceShareParameters) DeepCopyInto

func (in *ResourceShareParameters) DeepCopyInto(out *ResourceShareParameters)

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

type ResourceShareSpec

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

ResourceShareSpec defines the desired state of ResourceShare

func (*ResourceShareSpec) DeepCopy

func (in *ResourceShareSpec) DeepCopy() *ResourceShareSpec

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

func (*ResourceShareSpec) DeepCopyInto

func (in *ResourceShareSpec) DeepCopyInto(out *ResourceShareSpec)

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

type ResourceShareStatus

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

ResourceShareStatus defines the observed state of ResourceShare.

func (*ResourceShareStatus) DeepCopy

func (in *ResourceShareStatus) DeepCopy() *ResourceShareStatus

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

func (*ResourceShareStatus) DeepCopyInto

func (in *ResourceShareStatus) DeepCopyInto(out *ResourceShareStatus)

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