v1alpha1

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRDGroup   = "ram.aws.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	ResourceShareKind             = "ResourceShare"
	ResourceShareGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceShareKind}.String()
	ResourceShareKindAPIVersion   = ResourceShareKind + "." + GroupVersion.String()
	ResourceShareGroupVersionKind = GroupVersion.WithKind(ResourceShareKind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CustomResourceShareParameters

type CustomResourceShareParameters struct{}

CustomResourceShareParameters includes custom fields for ResourceShareParameters.

func (*CustomResourceShareParameters) DeepCopy

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

func (*CustomResourceShareParameters) DeepCopyInto

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

type Principal

type Principal struct {
	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	External *bool `json:"external,omitempty"`

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

	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`

	ResourceShareARN *string `json:"resourceShareARN,omitempty"`
}

+kubebuilder:skipversion

func (*Principal) DeepCopy

func (in *Principal) DeepCopy() *Principal

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

func (*Principal) DeepCopyInto

func (in *Principal) DeepCopyInto(out *Principal)

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

type Resource

type Resource struct {
	ARN *string `json:"arn,omitempty"`

	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`

	ResourceGroupARN *string `json:"resourceGroupARN,omitempty"`

	ResourceShareARN *string `json:"resourceShareARN,omitempty"`

	StatusMessage *string `json:"statusMessage,omitempty"`

	Type *string `json:"type_,omitempty"`
}

+kubebuilder:skipversion

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

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

type ResourceOwner

type ResourceOwner string
const (
	ResourceOwner_SELF           ResourceOwner = "SELF"
	ResourceOwner_OTHER_ACCOUNTS ResourceOwner = "OTHER-ACCOUNTS"
)

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 +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:subresource:status +kubebuilder:storageversion +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) GetDeletionPolicy

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

GetDeletionPolicy 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) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceShare.

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

type ResourceShareAssociation struct {
	AssociatedEntity *string `json:"associatedEntity,omitempty"`

	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	External *bool `json:"external,omitempty"`

	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`

	ResourceShareARN *string `json:"resourceShareARN,omitempty"`

	ResourceShareName *string `json:"resourceShareName,omitempty"`

	StatusMessage *string `json:"statusMessage,omitempty"`
}

+kubebuilder:skipversion

func (*ResourceShareAssociation) DeepCopy

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

func (*ResourceShareAssociation) DeepCopyInto

func (in *ResourceShareAssociation) DeepCopyInto(out *ResourceShareAssociation)

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

type ResourceShareAssociationStatus

type ResourceShareAssociationStatus string
const (
	ResourceShareAssociationStatus_ASSOCIATING    ResourceShareAssociationStatus = "ASSOCIATING"
	ResourceShareAssociationStatus_ASSOCIATED     ResourceShareAssociationStatus = "ASSOCIATED"
	ResourceShareAssociationStatus_FAILED         ResourceShareAssociationStatus = "FAILED"
	ResourceShareAssociationStatus_DISASSOCIATING ResourceShareAssociationStatus = "DISASSOCIATING"
	ResourceShareAssociationStatus_DISASSOCIATED  ResourceShareAssociationStatus = "DISASSOCIATED"
)

type ResourceShareAssociationType

type ResourceShareAssociationType string
const (
	ResourceShareAssociationType_PRINCIPAL ResourceShareAssociationType = "PRINCIPAL"
	ResourceShareAssociationType_RESOURCE  ResourceShareAssociationType = "RESOURCE"
)

type ResourceShareFeatureSet

type ResourceShareFeatureSet string
const (
	ResourceShareFeatureSet_CREATED_FROM_POLICY   ResourceShareFeatureSet = "CREATED_FROM_POLICY"
	ResourceShareFeatureSet_PROMOTING_TO_STANDARD ResourceShareFeatureSet = "PROMOTING_TO_STANDARD"
	ResourceShareFeatureSet_STANDARD              ResourceShareFeatureSet = "STANDARD"
)

type ResourceShareInvitation

type ResourceShareInvitation struct {
	InvitationTimestamp *metav1.Time `json:"invitationTimestamp,omitempty"`

	ReceiverAccountID *string `json:"receiverAccountID,omitempty"`

	ReceiverARN *string `json:"receiverARN,omitempty"`

	ResourceShareARN *string `json:"resourceShareARN,omitempty"`

	ResourceShareInvitationARN *string `json:"resourceShareInvitationARN,omitempty"`

	ResourceShareName *string `json:"resourceShareName,omitempty"`

	SenderAccountID *string `json:"senderAccountID,omitempty"`
}

+kubebuilder:skipversion

func (*ResourceShareInvitation) DeepCopy

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

func (*ResourceShareInvitation) DeepCopyInto

func (in *ResourceShareInvitation) DeepCopyInto(out *ResourceShareInvitation)

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

type ResourceShareInvitationStatus

type ResourceShareInvitationStatus string
const (
	ResourceShareInvitationStatus_PENDING  ResourceShareInvitationStatus = "PENDING"
	ResourceShareInvitationStatus_ACCEPTED ResourceShareInvitationStatus = "ACCEPTED"
	ResourceShareInvitationStatus_REJECTED ResourceShareInvitationStatus = "REJECTED"
	ResourceShareInvitationStatus_EXPIRED  ResourceShareInvitationStatus = "EXPIRED"
)

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 {
	// Information about the resource share.
	ResourceShare *ResourceShare_SDK `json:"resourceShare,omitempty"`
}

ResourceShareObservation defines the observed state of ResourceShare

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 {
	// Region is which region the ResourceShare will be created.
	// +kubebuilder:validation:Required
	Region string `json:"region"`
	// Indicates whether principals outside your organization in Organizations can
	// be associated with a resource share.
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty"`
	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `json:"clientToken,omitempty"`
	// The name of the resource share.
	// +kubebuilder:validation:Required
	Name *string `json:"name"`
	// The Amazon Resource Names (ARNs) of the permissions 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. Only
	// one permission can be associated with each resource type in a resource share.
	PermissionARNs []*string `json:"permissionARNs,omitempty"`
	// The principals to associate with the resource share. The possible values
	// are:
	//
	//    * An Amazon Web Services account ID
	//
	//    * An Amazon Resource Name (ARN) of an organization in Organizations
	//
	//    * An ARN of an organizational unit (OU) in Organizations
	//
	//    * An ARN of an IAM role
	//
	//    * An ARN of an IAM user
	//
	// Not all resource types can be shared with IAM roles and IAM users. For more
	// information, see Sharing with IAM roles and IAM users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types)
	// in the Resource Access Manager User Guide.
	Principals []*string `json:"principals,omitempty"`
	// The ARNs of the resources to associate with the resource share.
	ResourceARNs []*string `json:"resourceARNs,omitempty"`
	// One or more tags.
	Tags                          []*Tag `json:"tags,omitempty"`
	CustomResourceShareParameters `json:",inline"`
}

ResourceShareParameters defines the desired state of ResourceShare

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 ResourceSharePermissionDetail

type ResourceSharePermissionDetail struct {
	ARN *string `json:"arn,omitempty"`

	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	DefaultVersion *bool `json:"defaultVersion,omitempty"`

	IsResourceTypeDefault *bool `json:"isResourceTypeDefault,omitempty"`

	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`

	Name *string `json:"name,omitempty"`

	Permission *string `json:"permission,omitempty"`

	ResourceType *string `json:"resourceType,omitempty"`

	Version *string `json:"version,omitempty"`
}

+kubebuilder:skipversion

func (*ResourceSharePermissionDetail) DeepCopy

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

func (*ResourceSharePermissionDetail) DeepCopyInto

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

type ResourceSharePermissionSummary

type ResourceSharePermissionSummary struct {
	ARN *string `json:"arn,omitempty"`

	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	DefaultVersion *bool `json:"defaultVersion,omitempty"`

	IsResourceTypeDefault *bool `json:"isResourceTypeDefault,omitempty"`

	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`

	Name *string `json:"name,omitempty"`

	ResourceType *string `json:"resourceType,omitempty"`

	Status *string `json:"status,omitempty"`

	Version *string `json:"version,omitempty"`
}

+kubebuilder:skipversion

func (*ResourceSharePermissionSummary) DeepCopy

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

func (*ResourceSharePermissionSummary) DeepCopyInto

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

type ResourceShareSpec

type ResourceShareSpec struct {
	xpv1.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 {
	xpv1.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.

type ResourceShareStatus_SDK

type ResourceShareStatus_SDK string
const (
	ResourceShareStatus_SDK_PENDING  ResourceShareStatus_SDK = "PENDING"
	ResourceShareStatus_SDK_ACTIVE   ResourceShareStatus_SDK = "ACTIVE"
	ResourceShareStatus_SDK_FAILED   ResourceShareStatus_SDK = "FAILED"
	ResourceShareStatus_SDK_DELETING ResourceShareStatus_SDK = "DELETING"
	ResourceShareStatus_SDK_DELETED  ResourceShareStatus_SDK = "DELETED"
)

type ResourceShare_SDK

type ResourceShare_SDK struct {
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty"`

	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	FeatureSet *string `json:"featureSet,omitempty"`

	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`

	Name *string `json:"name,omitempty"`

	OwningAccountID *string `json:"owningAccountID,omitempty"`

	ResourceShareARN *string `json:"resourceShareARN,omitempty"`

	Status *string `json:"status,omitempty"`

	StatusMessage *string `json:"statusMessage,omitempty"`

	Tags []*Tag `json:"tags,omitempty"`
}

+kubebuilder:skipversion

func (*ResourceShare_SDK) DeepCopy

func (in *ResourceShare_SDK) DeepCopy() *ResourceShare_SDK

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

func (*ResourceShare_SDK) DeepCopyInto

func (in *ResourceShare_SDK) DeepCopyInto(out *ResourceShare_SDK)

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

type ResourceStatus

type ResourceStatus string
const (
	ResourceStatus_AVAILABLE                   ResourceStatus = "AVAILABLE"
	ResourceStatus_ZONAL_RESOURCE_INACCESSIBLE ResourceStatus = "ZONAL_RESOURCE_INACCESSIBLE"
	ResourceStatus_LIMIT_EXCEEDED              ResourceStatus = "LIMIT_EXCEEDED"
	ResourceStatus_UNAVAILABLE                 ResourceStatus = "UNAVAILABLE"
	ResourceStatus_PENDING                     ResourceStatus = "PENDING"
)

type ServiceNameAndResourceType

type ServiceNameAndResourceType struct {
	ResourceType *string `json:"resourceType,omitempty"`

	ServiceName *string `json:"serviceName,omitempty"`
}

+kubebuilder:skipversion

func (*ServiceNameAndResourceType) DeepCopy

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

func (*ServiceNameAndResourceType) DeepCopyInto

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

type Tag

type Tag struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

+kubebuilder:skipversion

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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

type TagFilter

type TagFilter struct {
	TagKey *string `json:"tagKey,omitempty"`

	TagValues []*string `json:"tagValues,omitempty"`
}

+kubebuilder:skipversion

func (*TagFilter) DeepCopy

func (in *TagFilter) DeepCopy() *TagFilter

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

func (*TagFilter) DeepCopyInto

func (in *TagFilter) DeepCopyInto(out *TagFilter)

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