v1beta1

package
v0.9.0-rc Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 14 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

This section is empty.

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="ROLENAME",type="string",JSONPath=".spec.roleName" +kubebuilder:printcolumn:name="DESCRIPTION",type="string",JSONPath=".spec.forProvider.description" +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

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

func (mg *IAMRole) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this IAMRole.

func (*IAMRole) GetClaimReference

func (mg *IAMRole) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this IAMRole.

func (*IAMRole) GetClassReference

func (mg *IAMRole) GetClassReference() *corev1.ObjectReference

GetClassReference of this IAMRole.

func (*IAMRole) GetCondition

GetCondition of this IAMRole.

func (*IAMRole) GetProviderReference

func (mg *IAMRole) GetProviderReference() *corev1.ObjectReference

GetProviderReference of this IAMRole.

func (*IAMRole) GetReclaimPolicy

func (mg *IAMRole) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this IAMRole.

func (*IAMRole) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IAMRole.

func (*IAMRole) SetBindingPhase

func (mg *IAMRole) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this IAMRole.

func (*IAMRole) SetClaimReference

func (mg *IAMRole) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this IAMRole.

func (*IAMRole) SetClassReference

func (mg *IAMRole) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this IAMRole.

func (*IAMRole) SetConditions

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

SetConditions of this IAMRole.

func (*IAMRole) SetProviderReference

func (mg *IAMRole) SetProviderReference(r *corev1.ObjectReference)

SetProviderReference of this IAMRole.

func (*IAMRole) SetReclaimPolicy

func (mg *IAMRole) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this IAMRole.

func (*IAMRole) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IAMRole.

type IAMRoleARNReferencer

type IAMRoleARNReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

IAMRoleARNReferencer is used to get the ARN from a referenced IAMRole object

func (*IAMRoleARNReferencer) Build

Build retrieves and builds the IAMRoleARN

func (*IAMRoleARNReferencer) DeepCopy

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

func (*IAMRoleARNReferencer) DeepCopyInto

func (in *IAMRoleARNReferencer) DeepCopyInto(out *IAMRoleARNReferencer)

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

func (*IAMRoleARNReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

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.

type IAMRoleNameReferencer

type IAMRoleNameReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

IAMRoleNameReferencer is used to get the Name from a referenced IAMRole object

func (*IAMRoleNameReferencer) Build

Build retrieves and builds the IAMRoleName

func (*IAMRoleNameReferencer) DeepCopy

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

func (*IAMRoleNameReferencer) DeepCopyInto

func (in *IAMRoleNameReferencer) DeepCopyInto(out *IAMRoleNameReferencer)

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

func (*IAMRoleNameReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type IAMRoleNameReferencerForIAMRolePolicyAttachment

type IAMRoleNameReferencerForIAMRolePolicyAttachment struct {
	IAMRoleNameReferencer `json:",inline"`
}

IAMRoleNameReferencerForIAMRolePolicyAttachment is an attribute referencer that retrieves Name from a referenced IAMRole

func (*IAMRoleNameReferencerForIAMRolePolicyAttachment) Assign

Assign assigns the retrieved name to the managed resource

func (*IAMRoleNameReferencerForIAMRolePolicyAttachment) DeepCopy

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

func (*IAMRoleNameReferencerForIAMRolePolicyAttachment) DeepCopyInto

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

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="ROLENAME",type="string",JSONPath=".spec.forProvider.roleName" +kubebuilder:printcolumn:name="POLICYARN",type="string",JSONPath=".spec.forProvider.policyArn" +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

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

GetBindingPhase of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetClaimReference

func (mg *IAMRolePolicyAttachment) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetClassReference

func (mg *IAMRolePolicyAttachment) GetClassReference() *corev1.ObjectReference

GetClassReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetCondition

GetCondition of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetProviderReference

func (mg *IAMRolePolicyAttachment) GetProviderReference() *corev1.ObjectReference

GetProviderReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetReclaimPolicy

func (mg *IAMRolePolicyAttachment) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetBindingPhase

func (mg *IAMRolePolicyAttachment) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetClaimReference

func (mg *IAMRolePolicyAttachment) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetClassReference

func (mg *IAMRolePolicyAttachment) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetConditions

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

SetConditions of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetProviderReference

func (mg *IAMRolePolicyAttachment) SetProviderReference(r *corev1.ObjectReference)

SetProviderReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetReclaimPolicy

func (mg *IAMRolePolicyAttachment) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetWriteConnectionSecretToReference

func (mg *IAMRolePolicyAttachment) SetWriteConnectionSecretToReference(r *runtimev1alpha1.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.

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

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

	// RoleNameRef references to an IAMRole to retrieve its Name
	// +optional
	RoleNameRef *IAMRoleNameReferencerForIAMRolePolicyAttachment `json:"roleNameRef,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 {
	runtimev1alpha1.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 {
	runtimev1alpha1.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 {
	runtimev1alpha1.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 {
	runtimev1alpha1.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