v1beta1

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1beta1 contains managed resources for AWS identity services such as IAM. +kubebuilder:object:generate=true +groupName=identity.aws.crossplane.io +versionName=v1beta1

Index

Constants

View Source
const (
	Group   = "identity.aws.crossplane.io"
	Version = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	IAMRoleKind             = reflect.TypeOf(IAMRole{}).Name()
	IAMRoleGroupKind        = schema.GroupKind{Group: Group, Kind: IAMRoleKind}.String()
	IAMRoleKindAPIVersion   = IAMRoleKind + "." + SchemeGroupVersion.String()
	IAMRoleGroupVersionKind = SchemeGroupVersion.WithKind(IAMRoleKind)
)

IAMRole type metadata.

View Source
var (
	IAMRolePolicyAttachmentKind             = reflect.TypeOf(IAMRolePolicyAttachment{}).Name()
	IAMRolePolicyAttachmentGroupKind        = schema.GroupKind{Group: Group, Kind: IAMRolePolicyAttachmentKind}.String()
	IAMRolePolicyAttachmentKindAPIVersion   = IAMRolePolicyAttachmentKind + "." + SchemeGroupVersion.String()
	IAMRolePolicyAttachmentGroupVersionKind = SchemeGroupVersion.WithKind(IAMRolePolicyAttachmentKind)
)

IAMRolePolicyAttachment type metadata.

Functions

func IAMRoleARN added in v0.9.0

func IAMRoleARN() reference.ExtractValueFn

IAMRoleARN returns the status.atProvider.ARN of an IAMRole.

Types

type IAMRole

type IAMRole struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IAMRoleSpec   `json:"spec"`
	Status IAMRoleStatus `json:"status,omitempty"`
}

An IAMRole is a managed resource that represents an AWS IAM Role. +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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*IAMRole) DeepCopy

func (in *IAMRole) DeepCopy() *IAMRole

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

func (*IAMRole) DeepCopyInto

func (in *IAMRole) DeepCopyInto(out *IAMRole)

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

func (*IAMRole) DeepCopyObject

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

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

func (*IAMRole) GetCondition

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

GetCondition of this IAMRole.

func (*IAMRole) GetDeletionPolicy added in v0.12.0

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

GetDeletionPolicy of this IAMRole.

func (*IAMRole) GetProviderConfigReference added in v0.12.0

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

GetProviderConfigReference of this IAMRole.

func (*IAMRole) GetProviderReference

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

GetProviderReference of this IAMRole. Deprecated: Use GetProviderConfigReference.

func (*IAMRole) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IAMRole.

func (*IAMRole) SetConditions

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

SetConditions of this IAMRole.

func (*IAMRole) SetDeletionPolicy added in v0.12.0

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

SetDeletionPolicy of this IAMRole.

func (*IAMRole) SetProviderConfigReference added in v0.12.0

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

SetProviderConfigReference of this IAMRole.

func (*IAMRole) SetProviderReference

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

SetProviderReference of this IAMRole. Deprecated: Use SetProviderConfigReference.

func (*IAMRole) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IAMRole.

type IAMRoleExternalStatus

type IAMRoleExternalStatus struct {
	// ARN is the Amazon Resource Name (ARN) specifying the role. For more information
	// about ARNs and how to use them in policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
	// in the IAM User Guide guide.
	ARN string `json:"arn"`

	// RoleID is the stable and unique string identifying the role. For more information about
	// IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
	// in the Using IAM guide.
	RoleID string `json:"roleID"`
}

IAMRoleExternalStatus keeps the state for the external resource

func (*IAMRoleExternalStatus) DeepCopy

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

func (*IAMRoleExternalStatus) DeepCopyInto

func (in *IAMRoleExternalStatus) DeepCopyInto(out *IAMRoleExternalStatus)

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

type IAMRoleList

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

IAMRoleList contains a list of IAMRoles

func (*IAMRoleList) DeepCopy

func (in *IAMRoleList) DeepCopy() *IAMRoleList

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

func (*IAMRoleList) DeepCopyInto

func (in *IAMRoleList) DeepCopyInto(out *IAMRoleList)

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

func (*IAMRoleList) DeepCopyObject

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

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

func (*IAMRoleList) GetItems added in v0.9.0

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

GetItems of this IAMRoleList.

type IAMRoleParameters

type IAMRoleParameters struct {

	// AssumeRolePolicyDocument is the the trust relationship policy document
	// that grants an entity permission to assume the role.
	// +immutable
	AssumeRolePolicyDocument string `json:"assumeRolePolicyDocument"`

	// Description is a description of the role.
	// +optional
	Description *string `json:"description,omitempty"`

	// MaxSessionDuration is the duration (in seconds) that you want to set for the specified
	// role. The default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
	// Default: 3600
	// +optional
	MaxSessionDuration *int64 `json:"maxSessionDuration,omitempty"`

	// Path is the path to the role.
	// Default: /
	// +immutable
	// +optional
	Path *string `json:"path,omitempty"`

	// PermissionsBoundary is the ARN of the policy that is used to set the permissions boundary for the role.
	// +immutable
	// +optional
	PermissionsBoundary *string `json:"permissionsBoundary,omitempty"`

	// Tags. For more information about
	// tagging, see Tagging IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html)
	// in the IAM User Guide.
	// +immutable
	// +optional
	Tags []Tag `json:"tags,omitempty"`
}

IAMRoleParameters define the desired state of an AWS IAM Role.

func (*IAMRoleParameters) DeepCopy

func (in *IAMRoleParameters) DeepCopy() *IAMRoleParameters

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

func (*IAMRoleParameters) DeepCopyInto

func (in *IAMRoleParameters) DeepCopyInto(out *IAMRoleParameters)

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

type IAMRolePolicyAttachment

type IAMRolePolicyAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IAMRolePolicyAttachmentSpec   `json:"spec"`
	Status IAMRolePolicyAttachmentStatus `json:"status,omitempty"`
}

An IAMRolePolicyAttachment is a managed resource that represents an AWS IAM Role policy attachment. +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="ROLENAME",type="string",JSONPath=".spec.forProvider.roleName" +kubebuilder:printcolumn:name="POLICYARN",type="string",JSONPath=".spec.forProvider.policyArn" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*IAMRolePolicyAttachment) DeepCopy

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

func (*IAMRolePolicyAttachment) DeepCopyInto

func (in *IAMRolePolicyAttachment) DeepCopyInto(out *IAMRolePolicyAttachment)

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

func (*IAMRolePolicyAttachment) DeepCopyObject

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

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

func (*IAMRolePolicyAttachment) GetCondition

GetCondition of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetDeletionPolicy added in v0.12.0

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

GetDeletionPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetProviderConfigReference added in v0.12.0

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

GetProviderConfigReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetProviderReference

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

GetProviderReference of this IAMRolePolicyAttachment. Deprecated: Use GetProviderConfigReference.

func (*IAMRolePolicyAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) ResolveReferences added in v0.9.0

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

ResolveReferences of this IAMRolePolicyAttachment

func (*IAMRolePolicyAttachment) SetConditions

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

SetConditions of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetDeletionPolicy added in v0.12.0

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

SetDeletionPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetProviderConfigReference added in v0.12.0

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

SetProviderConfigReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetProviderReference

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

SetProviderReference of this IAMRolePolicyAttachment. Deprecated: Use SetProviderConfigReference.

func (*IAMRolePolicyAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IAMRolePolicyAttachment.

type IAMRolePolicyAttachmentExternalStatus

type IAMRolePolicyAttachmentExternalStatus struct {
	// AttachedPolicyARN is the arn for the attached policy. If nil, the policy
	// is not yet attached
	AttachedPolicyARN string `json:"attachedPolicyArn"`
}

IAMRolePolicyAttachmentExternalStatus keeps the state for the external resource

func (*IAMRolePolicyAttachmentExternalStatus) DeepCopy

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

func (*IAMRolePolicyAttachmentExternalStatus) DeepCopyInto

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

type IAMRolePolicyAttachmentList

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

IAMRolePolicyAttachmentList contains a list of IAMRolePolicyAttachments

func (*IAMRolePolicyAttachmentList) DeepCopy

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

func (*IAMRolePolicyAttachmentList) DeepCopyInto

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

func (*IAMRolePolicyAttachmentList) DeepCopyObject

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

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

func (*IAMRolePolicyAttachmentList) GetItems added in v0.9.0

GetItems of this IAMRolePolicyAttachmentList.

type IAMRolePolicyAttachmentParameters

type IAMRolePolicyAttachmentParameters struct {

	// PolicyARN is the Amazon Resource Name (ARN) of the IAM policy you want to
	// attach.
	// +immutable
	PolicyARN string `json:"policyArn,omitempty"`

	// PolicyARNRef references an IAMPolicy to retrieve its Policy ARN.
	// +optional
	PolicyARNRef *xpv1.Reference `json:"policyArnRef,omitempty"`

	// PolicyARNSelector selects a reference to an IAMPolicy to retrieve its
	// Policy ARN
	// +optional
	PolicyARNSelector *xpv1.Selector `json:"policyArnSelector,omitempty"`

	// RoleName presents the name of the IAM role.
	// +immutable
	RoleName string `json:"roleName,omitempty"`

	// RoleNameRef references an IAMRole to retrieve its Name
	// +optional
	RoleNameRef *xpv1.Reference `json:"roleNameRef,omitempty"`

	// RoleNameSelector selects a reference to an IAMRole to retrieve its Name
	// +optional
	RoleNameSelector *xpv1.Selector `json:"roleNameSelector,omitempty"`
}

IAMRolePolicyAttachmentParameters define the desired state of an AWS IAM Role policy attachment.

func (*IAMRolePolicyAttachmentParameters) DeepCopy

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

func (*IAMRolePolicyAttachmentParameters) DeepCopyInto

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

type IAMRolePolicyAttachmentSpec

type IAMRolePolicyAttachmentSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       IAMRolePolicyAttachmentParameters `json:"forProvider"`
}

An IAMRolePolicyAttachmentSpec defines the desired state of an IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachmentSpec) DeepCopy

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

func (*IAMRolePolicyAttachmentSpec) DeepCopyInto

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

type IAMRolePolicyAttachmentStatus

type IAMRolePolicyAttachmentStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          IAMRolePolicyAttachmentExternalStatus `json:"atProvider"`
}

An IAMRolePolicyAttachmentStatus represents the observed state of an IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachmentStatus) DeepCopy

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

func (*IAMRolePolicyAttachmentStatus) DeepCopyInto

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

type IAMRoleSpec

type IAMRoleSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       IAMRoleParameters `json:"forProvider"`
}

An IAMRoleSpec defines the desired state of an IAMRole.

func (*IAMRoleSpec) DeepCopy

func (in *IAMRoleSpec) DeepCopy() *IAMRoleSpec

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

func (*IAMRoleSpec) DeepCopyInto

func (in *IAMRoleSpec) DeepCopyInto(out *IAMRoleSpec)

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

type IAMRoleStatus

type IAMRoleStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          IAMRoleExternalStatus `json:"atProvider"`
}

An IAMRoleStatus represents the observed state of an IAMRole.

func (*IAMRoleStatus) DeepCopy

func (in *IAMRoleStatus) DeepCopy() *IAMRoleStatus

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

func (*IAMRoleStatus) DeepCopyInto

func (in *IAMRoleStatus) DeepCopyInto(out *IAMRoleStatus)

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

type Tag

type Tag struct {

	// The key name that can be used to look up or retrieve the associated value.
	// For example, Department or Cost Center are common choices.
	Key string `json:"key"`

	// The value associated with this tag. For example, tags with a key name of
	// Department could have values such as Human Resources, Accounting, and Support.
	// Tags with a key name of Cost Center might have values that consist of the
	// number associated with the different cost centers in your company. Typically,
	// many resources have tags with the same key name but with different values.
	//
	// AWS always interprets the tag Value as a single string. If you need to store
	// an array, you can store comma-separated values in the string. However, you
	// must interpret the value in your code.
	// +optional
	Value string `json:"value,omitempty"`
}

Tag represents user-provided metadata that can be associated with a IAM role. For more information about tagging, see Tagging IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the IAM User Guide.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL