v1beta1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 13 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 (
	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.

Functions

This section is empty.

Types

type ResourceAssociation added in v0.32.0

type ResourceAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*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) 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) GetProviderReference added in v0.32.0

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

GetProviderReference of this ResourceAssociation. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference added in v0.32.0

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

SetProviderReference of this ResourceAssociation. Deprecated: Use SetProviderConfigReference.

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 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"`
}

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.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Subnet in ec2 to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Subnet in ec2 to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`

	// 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/upbound/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"`
}

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"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*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) 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) GetProviderReference

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

GetProviderReference of this ResourceShare. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference

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

SetProviderReference of this ResourceShare. Deprecated: Use SetProviderConfigReference.

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 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 {

	// 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"`

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

func (*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:Required
	Name *string `json:"name" 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
	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
	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"`
}

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