v1beta2

package
v1.12.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ssoadmin.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "ssoadmin.aws.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	CustomerManagedPolicyAttachment_Kind             = "CustomerManagedPolicyAttachment"
	CustomerManagedPolicyAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomerManagedPolicyAttachment_Kind}.String()
	CustomerManagedPolicyAttachment_KindAPIVersion   = CustomerManagedPolicyAttachment_Kind + "." + CRDGroupVersion.String()
	CustomerManagedPolicyAttachment_GroupVersionKind = CRDGroupVersion.WithKind(CustomerManagedPolicyAttachment_Kind)
)

Repository type metadata.

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 (
	PermissionsBoundaryAttachment_Kind             = "PermissionsBoundaryAttachment"
	PermissionsBoundaryAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PermissionsBoundaryAttachment_Kind}.String()
	PermissionsBoundaryAttachment_KindAPIVersion   = PermissionsBoundaryAttachment_Kind + "." + CRDGroupVersion.String()
	PermissionsBoundaryAttachment_GroupVersionKind = CRDGroupVersion.WithKind(PermissionsBoundaryAttachment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CustomerManagedPolicyAttachment

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

CustomerManagedPolicyAttachment is the Schema for the CustomerManagedPolicyAttachments API. Manages a customer managed policy for a Single Sign-On (SSO) Permission Set +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 (*CustomerManagedPolicyAttachment) DeepCopy

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

func (*CustomerManagedPolicyAttachment) DeepCopyInto

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

func (*CustomerManagedPolicyAttachment) DeepCopyObject

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

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

func (*CustomerManagedPolicyAttachment) GetCondition

GetCondition of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) GetID

GetID returns ID of underlying Terraform resource of this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetInitParameters

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

GetInitParameters of this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetManagementPolicies

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

GetManagementPolicies of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) GetMergedParameters

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

GetInitParameters of this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetObservation

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

GetObservation of this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetParameters

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

GetParameters of this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) GetTerraformResourceType

func (mg *CustomerManagedPolicyAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) GetTerraformSchemaVersion

func (tr *CustomerManagedPolicyAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomerManagedPolicyAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) Hub

Hub marks this type as a conversion hub.

func (*CustomerManagedPolicyAttachment) LateInitialize

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

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

func (*CustomerManagedPolicyAttachment) ResolveReferences

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

func (*CustomerManagedPolicyAttachment) SetConditions

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

SetConditions of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) SetManagementPolicies

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

SetManagementPolicies of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) SetObservation

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

SetObservation for this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) SetParameters

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

SetParameters for this CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CustomerManagedPolicyAttachment.

type CustomerManagedPolicyAttachmentInitParameters

type CustomerManagedPolicyAttachmentInitParameters struct {

	// Specifies the name and path of a customer managed policy. See below.
	CustomerManagedPolicyReference *CustomerManagedPolicyReferenceInitParameters `json:"customerManagedPolicyReference,omitempty" tf:"customer_managed_policy_reference,omitempty"`
}

func (*CustomerManagedPolicyAttachmentInitParameters) DeepCopy

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

func (*CustomerManagedPolicyAttachmentInitParameters) DeepCopyInto

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

type CustomerManagedPolicyAttachmentList

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

CustomerManagedPolicyAttachmentList contains a list of CustomerManagedPolicyAttachments

func (*CustomerManagedPolicyAttachmentList) DeepCopy

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

func (*CustomerManagedPolicyAttachmentList) DeepCopyInto

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

func (*CustomerManagedPolicyAttachmentList) DeepCopyObject

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

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

func (*CustomerManagedPolicyAttachmentList) GetItems

GetItems of this CustomerManagedPolicyAttachmentList.

type CustomerManagedPolicyAttachmentObservation

type CustomerManagedPolicyAttachmentObservation struct {

	// Specifies the name and path of a customer managed policy. See below.
	CustomerManagedPolicyReference *CustomerManagedPolicyReferenceObservation `json:"customerManagedPolicyReference,omitempty" tf:"customer_managed_policy_reference,omitempty"`

	// Policy Name, Policy Path, Permission Set Amazon Resource Name (ARN), and SSO Instance ARN, each separated by a comma (,).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
	InstanceArn *string `json:"instanceArn,omitempty" tf:"instance_arn,omitempty"`

	// The Amazon Resource Name (ARN) of the Permission Set.
	PermissionSetArn *string `json:"permissionSetArn,omitempty" tf:"permission_set_arn,omitempty"`
}

func (*CustomerManagedPolicyAttachmentObservation) DeepCopy

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

func (*CustomerManagedPolicyAttachmentObservation) DeepCopyInto

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

type CustomerManagedPolicyAttachmentParameters

type CustomerManagedPolicyAttachmentParameters struct {

	// Specifies the name and path of a customer managed policy. See below.
	// +kubebuilder:validation:Optional
	CustomerManagedPolicyReference *CustomerManagedPolicyReferenceParameters `json:"customerManagedPolicyReference,omitempty" tf:"customer_managed_policy_reference,omitempty"`

	// The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
	// +kubebuilder:validation:Required
	InstanceArn *string `json:"instanceArn" tf:"instance_arn,omitempty"`

	// The Amazon Resource Name (ARN) of the Permission Set.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssoadmin/v1beta1.PermissionSet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	PermissionSetArn *string `json:"permissionSetArn,omitempty" tf:"permission_set_arn,omitempty"`

	// Reference to a PermissionSet in ssoadmin to populate permissionSetArn.
	// +kubebuilder:validation:Optional
	PermissionSetArnRef *v1.Reference `json:"permissionSetArnRef,omitempty" tf:"-"`

	// Selector for a PermissionSet in ssoadmin to populate permissionSetArn.
	// +kubebuilder:validation:Optional
	PermissionSetArnSelector *v1.Selector `json:"permissionSetArnSelector,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:"-"`
}

func (*CustomerManagedPolicyAttachmentParameters) DeepCopy

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

func (*CustomerManagedPolicyAttachmentParameters) DeepCopyInto

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

type CustomerManagedPolicyAttachmentSpec

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

CustomerManagedPolicyAttachmentSpec defines the desired state of CustomerManagedPolicyAttachment

func (*CustomerManagedPolicyAttachmentSpec) DeepCopy

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

func (*CustomerManagedPolicyAttachmentSpec) DeepCopyInto

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

type CustomerManagedPolicyAttachmentStatus

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

CustomerManagedPolicyAttachmentStatus defines the observed state of CustomerManagedPolicyAttachment.

func (*CustomerManagedPolicyAttachmentStatus) DeepCopy

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

func (*CustomerManagedPolicyAttachmentStatus) DeepCopyInto

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

type CustomerManagedPolicyReferenceInitParameters

type CustomerManagedPolicyReferenceInitParameters struct {

	// Name of the customer managed IAM Policy to be attached.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy
	// +crossplane:generate:reference:refFieldName=PolicyNameRef
	// +crossplane:generate:reference:selectorFieldName=PolicyNameSelector
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Reference to a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	PolicyNameRef *v1.Reference `json:"policyNameRef,omitempty" tf:"-"`

	// Selector for a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	PolicyNameSelector *v1.Selector `json:"policyNameSelector,omitempty" tf:"-"`
}

func (*CustomerManagedPolicyReferenceInitParameters) DeepCopy

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

func (*CustomerManagedPolicyReferenceInitParameters) DeepCopyInto

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

type CustomerManagedPolicyReferenceObservation

type CustomerManagedPolicyReferenceObservation struct {

	// Name of the customer managed IAM Policy to be attached.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*CustomerManagedPolicyReferenceObservation) DeepCopy

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

func (*CustomerManagedPolicyReferenceObservation) DeepCopyInto

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

type CustomerManagedPolicyReferenceParameters

type CustomerManagedPolicyReferenceParameters struct {

	// Name of the customer managed IAM Policy to be attached.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy
	// +crossplane:generate:reference:refFieldName=PolicyNameRef
	// +crossplane:generate:reference:selectorFieldName=PolicyNameSelector
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Reference to a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	PolicyNameRef *v1.Reference `json:"policyNameRef,omitempty" tf:"-"`

	// Selector for a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	PolicyNameSelector *v1.Selector `json:"policyNameSelector,omitempty" tf:"-"`
}

func (*CustomerManagedPolicyReferenceParameters) DeepCopy

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

func (*CustomerManagedPolicyReferenceParameters) DeepCopyInto

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

type PermissionsBoundaryAttachment

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

PermissionsBoundaryAttachment is the Schema for the PermissionsBoundaryAttachments API. Attaches a permissions boundary policy to a Single Sign-On (SSO) Permission Set resource. +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 (*PermissionsBoundaryAttachment) DeepCopy

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

func (*PermissionsBoundaryAttachment) DeepCopyInto

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

func (*PermissionsBoundaryAttachment) DeepCopyObject

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

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

func (*PermissionsBoundaryAttachment) GetCondition

GetCondition of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) GetID

GetID returns ID of underlying Terraform resource of this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetInitParameters

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

GetInitParameters of this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetManagementPolicies

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

GetManagementPolicies of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) GetMergedParameters

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

GetInitParameters of this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetObservation

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

GetObservation of this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetParameters

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

GetParameters of this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) GetTerraformResourceType

func (mg *PermissionsBoundaryAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) GetTerraformSchemaVersion

func (tr *PermissionsBoundaryAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PermissionsBoundaryAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) Hub

Hub marks this type as a conversion hub.

func (*PermissionsBoundaryAttachment) LateInitialize

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

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

func (*PermissionsBoundaryAttachment) ResolveReferences

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

ResolveReferences of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) SetConditions

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

SetConditions of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) SetManagementPolicies

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

SetManagementPolicies of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) SetObservation

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

SetObservation for this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) SetParameters

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

SetParameters for this PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PermissionsBoundaryAttachment.

type PermissionsBoundaryAttachmentInitParameters

type PermissionsBoundaryAttachmentInitParameters struct {

	// The permissions boundary policy. See below.
	PermissionsBoundary *PermissionsBoundaryInitParameters `json:"permissionsBoundary,omitempty" tf:"permissions_boundary,omitempty"`
}

func (*PermissionsBoundaryAttachmentInitParameters) DeepCopy

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

func (*PermissionsBoundaryAttachmentInitParameters) DeepCopyInto

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

type PermissionsBoundaryAttachmentList

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

PermissionsBoundaryAttachmentList contains a list of PermissionsBoundaryAttachments

func (*PermissionsBoundaryAttachmentList) DeepCopy

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

func (*PermissionsBoundaryAttachmentList) DeepCopyInto

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

func (*PermissionsBoundaryAttachmentList) DeepCopyObject

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

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

func (*PermissionsBoundaryAttachmentList) GetItems

GetItems of this PermissionsBoundaryAttachmentList.

type PermissionsBoundaryAttachmentObservation

type PermissionsBoundaryAttachmentObservation struct {

	// Permission Set Amazon Resource Name (ARN) and SSO Instance ARN, separated by a comma (,).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
	InstanceArn *string `json:"instanceArn,omitempty" tf:"instance_arn,omitempty"`

	// The Amazon Resource Name (ARN) of the Permission Set.
	PermissionSetArn *string `json:"permissionSetArn,omitempty" tf:"permission_set_arn,omitempty"`

	// The permissions boundary policy. See below.
	PermissionsBoundary *PermissionsBoundaryObservation `json:"permissionsBoundary,omitempty" tf:"permissions_boundary,omitempty"`
}

func (*PermissionsBoundaryAttachmentObservation) DeepCopy

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

func (*PermissionsBoundaryAttachmentObservation) DeepCopyInto

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

type PermissionsBoundaryAttachmentParameters

type PermissionsBoundaryAttachmentParameters struct {

	// The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
	// +kubebuilder:validation:Required
	InstanceArn *string `json:"instanceArn" tf:"instance_arn,omitempty"`

	// The Amazon Resource Name (ARN) of the Permission Set.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssoadmin/v1beta1.PermissionSet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	PermissionSetArn *string `json:"permissionSetArn,omitempty" tf:"permission_set_arn,omitempty"`

	// Reference to a PermissionSet in ssoadmin to populate permissionSetArn.
	// +kubebuilder:validation:Optional
	PermissionSetArnRef *v1.Reference `json:"permissionSetArnRef,omitempty" tf:"-"`

	// Selector for a PermissionSet in ssoadmin to populate permissionSetArn.
	// +kubebuilder:validation:Optional
	PermissionSetArnSelector *v1.Selector `json:"permissionSetArnSelector,omitempty" tf:"-"`

	// The permissions boundary policy. See below.
	// +kubebuilder:validation:Optional
	PermissionsBoundary *PermissionsBoundaryParameters `json:"permissionsBoundary,omitempty" tf:"permissions_boundary,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:"-"`
}

func (*PermissionsBoundaryAttachmentParameters) DeepCopy

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

func (*PermissionsBoundaryAttachmentParameters) DeepCopyInto

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

type PermissionsBoundaryAttachmentSpec

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

PermissionsBoundaryAttachmentSpec defines the desired state of PermissionsBoundaryAttachment

func (*PermissionsBoundaryAttachmentSpec) DeepCopy

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

func (*PermissionsBoundaryAttachmentSpec) DeepCopyInto

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

type PermissionsBoundaryAttachmentStatus

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

PermissionsBoundaryAttachmentStatus defines the observed state of PermissionsBoundaryAttachment.

func (*PermissionsBoundaryAttachmentStatus) DeepCopy

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

func (*PermissionsBoundaryAttachmentStatus) DeepCopyInto

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

type PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters

type PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters struct {

	// Name of the customer managed IAM Policy to be attached.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Reference to a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"`

	// Selector for a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"`

	// The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters) DeepCopy

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

func (*PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters) DeepCopyInto

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

type PermissionsBoundaryCustomerManagedPolicyReferenceObservation

type PermissionsBoundaryCustomerManagedPolicyReferenceObservation struct {

	// Name of the customer managed IAM Policy to be attached.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*PermissionsBoundaryCustomerManagedPolicyReferenceObservation) DeepCopy

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

func (*PermissionsBoundaryCustomerManagedPolicyReferenceObservation) DeepCopyInto

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

type PermissionsBoundaryCustomerManagedPolicyReferenceParameters

type PermissionsBoundaryCustomerManagedPolicyReferenceParameters struct {

	// Name of the customer managed IAM Policy to be attached.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Reference to a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"`

	// Selector for a Policy in iam to populate name.
	// +kubebuilder:validation:Optional
	NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"`

	// The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*PermissionsBoundaryCustomerManagedPolicyReferenceParameters) DeepCopy

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

func (*PermissionsBoundaryCustomerManagedPolicyReferenceParameters) DeepCopyInto

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

type PermissionsBoundaryInitParameters

type PermissionsBoundaryInitParameters struct {

	// Specifies the name and path of a customer managed policy. See below.
	CustomerManagedPolicyReference *PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters `json:"customerManagedPolicyReference,omitempty" tf:"customer_managed_policy_reference,omitempty"`

	// AWS-managed IAM policy ARN to use as the permissions boundary.
	ManagedPolicyArn *string `json:"managedPolicyArn,omitempty" tf:"managed_policy_arn,omitempty"`
}

func (*PermissionsBoundaryInitParameters) DeepCopy

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

func (*PermissionsBoundaryInitParameters) DeepCopyInto

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

type PermissionsBoundaryObservation

type PermissionsBoundaryObservation struct {

	// Specifies the name and path of a customer managed policy. See below.
	CustomerManagedPolicyReference *PermissionsBoundaryCustomerManagedPolicyReferenceObservation `json:"customerManagedPolicyReference,omitempty" tf:"customer_managed_policy_reference,omitempty"`

	// AWS-managed IAM policy ARN to use as the permissions boundary.
	ManagedPolicyArn *string `json:"managedPolicyArn,omitempty" tf:"managed_policy_arn,omitempty"`
}

func (*PermissionsBoundaryObservation) DeepCopy

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

func (*PermissionsBoundaryObservation) DeepCopyInto

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

type PermissionsBoundaryParameters

type PermissionsBoundaryParameters struct {

	// Specifies the name and path of a customer managed policy. See below.
	// +kubebuilder:validation:Optional
	CustomerManagedPolicyReference *PermissionsBoundaryCustomerManagedPolicyReferenceParameters `json:"customerManagedPolicyReference,omitempty" tf:"customer_managed_policy_reference,omitempty"`

	// AWS-managed IAM policy ARN to use as the permissions boundary.
	// +kubebuilder:validation:Optional
	ManagedPolicyArn *string `json:"managedPolicyArn,omitempty" tf:"managed_policy_arn,omitempty"`
}

func (*PermissionsBoundaryParameters) DeepCopy

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

func (*PermissionsBoundaryParameters) DeepCopyInto

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