v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=organizations.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "organizations.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Account_Kind             = "Account"
	Account_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String()
	Account_KindAPIVersion   = Account_Kind + "." + CRDGroupVersion.String()
	Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind)
)

Repository type metadata.

View Source
var (
	DelegatedAdministrator_Kind             = "DelegatedAdministrator"
	DelegatedAdministrator_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DelegatedAdministrator_Kind}.String()
	DelegatedAdministrator_KindAPIVersion   = DelegatedAdministrator_Kind + "." + CRDGroupVersion.String()
	DelegatedAdministrator_GroupVersionKind = CRDGroupVersion.WithKind(DelegatedAdministrator_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 (
	Organization_Kind             = "Organization"
	Organization_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Organization_Kind}.String()
	Organization_KindAPIVersion   = Organization_Kind + "." + CRDGroupVersion.String()
	Organization_GroupVersionKind = CRDGroupVersion.WithKind(Organization_Kind)
)

Repository type metadata.

View Source
var (
	OrganizationalUnit_Kind             = "OrganizationalUnit"
	OrganizationalUnit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OrganizationalUnit_Kind}.String()
	OrganizationalUnit_KindAPIVersion   = OrganizationalUnit_Kind + "." + CRDGroupVersion.String()
	OrganizationalUnit_GroupVersionKind = CRDGroupVersion.WithKind(OrganizationalUnit_Kind)
)

Repository type metadata.

View Source
var (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	PolicyAttachment_Kind             = "PolicyAttachment"
	PolicyAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyAttachment_Kind}.String()
	PolicyAttachment_KindAPIVersion   = PolicyAttachment_Kind + "." + CRDGroupVersion.String()
	PolicyAttachment_GroupVersionKind = CRDGroupVersion.WithKind(PolicyAttachment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Account

type Account struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.email)",message="email is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   AccountSpec   `json:"spec"`
	Status AccountStatus `json:"status,omitempty"`
}

Account is the Schema for the Accounts API. Provides a resource to create a member account in the current AWS Organization. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

func (*Account) DeepCopyObject

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

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

func (*Account) GetCondition

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

GetCondition of this Account.

func (*Account) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Account

func (*Account) GetDeletionPolicy

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

GetDeletionPolicy of this Account.

func (*Account) GetID

func (tr *Account) GetID() string

GetID returns ID of underlying Terraform resource of this Account

func (*Account) GetManagementPolicy

func (mg *Account) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Account.

func (*Account) GetObservation

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

GetObservation of this Account

func (*Account) GetParameters

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

GetParameters of this Account

func (*Account) GetProviderConfigReference

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

GetProviderConfigReference of this Account.

func (*Account) GetProviderReference

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

GetProviderReference of this Account. Deprecated: Use GetProviderConfigReference.

func (*Account) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Account.

func (*Account) GetTerraformResourceType

func (mg *Account) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Account

func (*Account) GetTerraformSchemaVersion

func (tr *Account) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Account) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Account.

func (*Account) LateInitialize

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

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

func (*Account) SetConditions

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

SetConditions of this Account.

func (*Account) SetDeletionPolicy

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

SetDeletionPolicy of this Account.

func (*Account) SetManagementPolicy

func (mg *Account) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Account.

func (*Account) SetObservation

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

SetObservation for this Account

func (*Account) SetParameters

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

SetParameters for this Account

func (*Account) SetProviderConfigReference

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

SetProviderConfigReference of this Account.

func (*Account) SetProviderReference

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

SetProviderReference of this Account. Deprecated: Use SetProviderConfigReference.

func (*Account) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Account.

func (*Account) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Account.

type AccountList

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

AccountList contains a list of Accounts

func (*AccountList) DeepCopy

func (in *AccountList) DeepCopy() *AccountList

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

func (*AccountList) DeepCopyInto

func (in *AccountList) DeepCopyInto(out *AccountList)

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

func (*AccountList) DeepCopyObject

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

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

func (*AccountList) GetItems

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

GetItems of this AccountList.

type AccountObservation

type AccountObservation struct {

	// The ARN for this account.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// If true, a deletion event will close the account. Otherwise, it will only remove from the organization. This is not supported for GovCloud accounts.
	CloseOnDeletion *bool `json:"closeOnDeletion,omitempty" tf:"close_on_deletion,omitempty"`

	// Whether to also create a GovCloud account. The GovCloud account is tied to the main (commercial) account this resource creates. If true, the GovCloud account ID is available in the govcloud_id attribute.
	CreateGovcloud *bool `json:"createGovcloud,omitempty" tf:"create_govcloud,omitempty"`

	// Email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// ID for a GovCloud account created with the account.
	GovcloudID *string `json:"govcloudId,omitempty" tf:"govcloud_id,omitempty"`

	// If set to ALLOW, the new account enables IAM users and roles to access account billing information if they have the required permissions. If set to DENY, then only the root user (and no roles) of the new account can access account billing information. If this is unset, the AWS API will default this to ALLOW. If the resource is created and this option is changed, it will try to recreate the account.
	IAMUserAccessToBilling *string `json:"iamUserAccessToBilling,omitempty" tf:"iam_user_access_to_billing,omitempty"`

	// The AWS account id
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	JoinedMethod *string `json:"joinedMethod,omitempty" tf:"joined_method,omitempty"`

	JoinedTimestamp *string `json:"joinedTimestamp,omitempty" tf:"joined_timestamp,omitempty"`

	// Friendly name for the member account.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Parent Organizational Unit ID or Root ID for the account. Defaults to the Organization default Root ID. A configuration must be present for this argument to perform drift detection.
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

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

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

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

func (*AccountObservation) DeepCopy

func (in *AccountObservation) DeepCopy() *AccountObservation

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

func (*AccountObservation) DeepCopyInto

func (in *AccountObservation) DeepCopyInto(out *AccountObservation)

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

type AccountParameters

type AccountParameters struct {

	// If true, a deletion event will close the account. Otherwise, it will only remove from the organization. This is not supported for GovCloud accounts.
	// +kubebuilder:validation:Optional
	CloseOnDeletion *bool `json:"closeOnDeletion,omitempty" tf:"close_on_deletion,omitempty"`

	// Whether to also create a GovCloud account. The GovCloud account is tied to the main (commercial) account this resource creates. If true, the GovCloud account ID is available in the govcloud_id attribute.
	// +kubebuilder:validation:Optional
	CreateGovcloud *bool `json:"createGovcloud,omitempty" tf:"create_govcloud,omitempty"`

	// Email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account.
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// If set to ALLOW, the new account enables IAM users and roles to access account billing information if they have the required permissions. If set to DENY, then only the root user (and no roles) of the new account can access account billing information. If this is unset, the AWS API will default this to ALLOW. If the resource is created and this option is changed, it will try to recreate the account.
	// +kubebuilder:validation:Optional
	IAMUserAccessToBilling *string `json:"iamUserAccessToBilling,omitempty" tf:"iam_user_access_to_billing,omitempty"`

	// Friendly name for the member account.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Parent Organizational Unit ID or Root ID for the account. Defaults to the Organization default Root ID. A configuration must be present for this argument to perform drift detection.
	// +kubebuilder:validation:Optional
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*AccountParameters) DeepCopy

func (in *AccountParameters) DeepCopy() *AccountParameters

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

func (*AccountParameters) DeepCopyInto

func (in *AccountParameters) DeepCopyInto(out *AccountParameters)

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

type AccountSpec

type AccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccountParameters `json:"forProvider"`
}

AccountSpec defines the desired state of Account

func (*AccountSpec) DeepCopy

func (in *AccountSpec) DeepCopy() *AccountSpec

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

func (*AccountSpec) DeepCopyInto

func (in *AccountSpec) DeepCopyInto(out *AccountSpec)

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

type AccountStatus

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

AccountStatus defines the observed state of Account.

func (*AccountStatus) DeepCopy

func (in *AccountStatus) DeepCopy() *AccountStatus

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

func (*AccountStatus) DeepCopyInto

func (in *AccountStatus) DeepCopyInto(out *AccountStatus)

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

type AccountsObservation

type AccountsObservation struct {

	// ARN of the account
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Email of the account
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Identifier of the account
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the account
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Current status of the account
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*AccountsObservation) DeepCopy

func (in *AccountsObservation) DeepCopy() *AccountsObservation

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

func (*AccountsObservation) DeepCopyInto

func (in *AccountsObservation) DeepCopyInto(out *AccountsObservation)

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

type AccountsParameters

type AccountsParameters struct {
}

func (*AccountsParameters) DeepCopy

func (in *AccountsParameters) DeepCopy() *AccountsParameters

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

func (*AccountsParameters) DeepCopyInto

func (in *AccountsParameters) DeepCopyInto(out *AccountsParameters)

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

type DelegatedAdministrator

type DelegatedAdministrator struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.servicePrincipal)",message="servicePrincipal is a required parameter"
	Spec   DelegatedAdministratorSpec   `json:"spec"`
	Status DelegatedAdministratorStatus `json:"status,omitempty"`
}

DelegatedAdministrator is the Schema for the DelegatedAdministrators API. Provides a resource to manage an AWS Organizations Delegated Administrator. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*DelegatedAdministrator) DeepCopy

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

func (*DelegatedAdministrator) DeepCopyInto

func (in *DelegatedAdministrator) DeepCopyInto(out *DelegatedAdministrator)

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

func (*DelegatedAdministrator) DeepCopyObject

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

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

func (*DelegatedAdministrator) GetCondition

GetCondition of this DelegatedAdministrator.

func (*DelegatedAdministrator) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DelegatedAdministrator

func (*DelegatedAdministrator) GetDeletionPolicy

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

GetDeletionPolicy of this DelegatedAdministrator.

func (*DelegatedAdministrator) GetID

func (tr *DelegatedAdministrator) GetID() string

GetID returns ID of underlying Terraform resource of this DelegatedAdministrator

func (*DelegatedAdministrator) GetManagementPolicy

func (mg *DelegatedAdministrator) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this DelegatedAdministrator.

func (*DelegatedAdministrator) GetObservation

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

GetObservation of this DelegatedAdministrator

func (*DelegatedAdministrator) GetParameters

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

GetParameters of this DelegatedAdministrator

func (*DelegatedAdministrator) GetProviderConfigReference

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

GetProviderConfigReference of this DelegatedAdministrator.

func (*DelegatedAdministrator) GetProviderReference

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

GetProviderReference of this DelegatedAdministrator. Deprecated: Use GetProviderConfigReference.

func (*DelegatedAdministrator) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DelegatedAdministrator.

func (*DelegatedAdministrator) GetTerraformResourceType

func (mg *DelegatedAdministrator) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DelegatedAdministrator

func (*DelegatedAdministrator) GetTerraformSchemaVersion

func (tr *DelegatedAdministrator) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DelegatedAdministrator) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DelegatedAdministrator.

func (*DelegatedAdministrator) LateInitialize

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

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

func (*DelegatedAdministrator) ResolveReferences

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

ResolveReferences of this DelegatedAdministrator.

func (*DelegatedAdministrator) SetConditions

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

SetConditions of this DelegatedAdministrator.

func (*DelegatedAdministrator) SetDeletionPolicy

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

SetDeletionPolicy of this DelegatedAdministrator.

func (*DelegatedAdministrator) SetManagementPolicy

func (mg *DelegatedAdministrator) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this DelegatedAdministrator.

func (*DelegatedAdministrator) SetObservation

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

SetObservation for this DelegatedAdministrator

func (*DelegatedAdministrator) SetParameters

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

SetParameters for this DelegatedAdministrator

func (*DelegatedAdministrator) SetProviderConfigReference

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

SetProviderConfigReference of this DelegatedAdministrator.

func (*DelegatedAdministrator) SetProviderReference

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

SetProviderReference of this DelegatedAdministrator. Deprecated: Use SetProviderConfigReference.

func (*DelegatedAdministrator) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DelegatedAdministrator.

func (*DelegatedAdministrator) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DelegatedAdministrator.

type DelegatedAdministratorList

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

DelegatedAdministratorList contains a list of DelegatedAdministrators

func (*DelegatedAdministratorList) DeepCopy

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

func (*DelegatedAdministratorList) DeepCopyInto

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

func (*DelegatedAdministratorList) DeepCopyObject

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

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

func (*DelegatedAdministratorList) GetItems

GetItems of this DelegatedAdministratorList.

type DelegatedAdministratorObservation

type DelegatedAdministratorObservation struct {

	// The account ID number of the member account in the organization to register as a delegated administrator.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// The Amazon Resource Name (ARN) of the delegated administrator's account.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The date when the account was made a delegated administrator.
	DelegationEnabledDate *string `json:"delegationEnabledDate,omitempty" tf:"delegation_enabled_date,omitempty"`

	// The email address that is associated with the delegated administrator's AWS account.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// The unique identifier (ID) of the delegated administrator.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The method by which the delegated administrator's account joined the organization.
	JoinedMethod *string `json:"joinedMethod,omitempty" tf:"joined_method,omitempty"`

	// The date when the delegated administrator's account became a part of the organization.
	JoinedTimestamp *string `json:"joinedTimestamp,omitempty" tf:"joined_timestamp,omitempty"`

	// The friendly name of the delegated administrator's account.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The service principal of the AWS service for which you want to make the member account a delegated administrator.
	ServicePrincipal *string `json:"servicePrincipal,omitempty" tf:"service_principal,omitempty"`

	// The status of the delegated administrator's account in the organization.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DelegatedAdministratorObservation) DeepCopy

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

func (*DelegatedAdministratorObservation) DeepCopyInto

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

type DelegatedAdministratorParameters

type DelegatedAdministratorParameters struct {

	// The account ID number of the member account in the organization to register as a delegated administrator.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/organizations/v1beta1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in organizations to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in organizations to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,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:"-"`

	// The service principal of the AWS service for which you want to make the member account a delegated administrator.
	// +kubebuilder:validation:Optional
	ServicePrincipal *string `json:"servicePrincipal,omitempty" tf:"service_principal,omitempty"`
}

func (*DelegatedAdministratorParameters) DeepCopy

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

func (*DelegatedAdministratorParameters) DeepCopyInto

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

type DelegatedAdministratorSpec

type DelegatedAdministratorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DelegatedAdministratorParameters `json:"forProvider"`
}

DelegatedAdministratorSpec defines the desired state of DelegatedAdministrator

func (*DelegatedAdministratorSpec) DeepCopy

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

func (*DelegatedAdministratorSpec) DeepCopyInto

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

type DelegatedAdministratorStatus

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

DelegatedAdministratorStatus defines the observed state of DelegatedAdministrator.

func (*DelegatedAdministratorStatus) DeepCopy

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

func (*DelegatedAdministratorStatus) DeepCopyInto

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

type NonMasterAccountsObservation

type NonMasterAccountsObservation struct {

	// ARN of the account
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Email of the account
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Identifier of the account
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the account
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Current status of the account
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NonMasterAccountsObservation) DeepCopy

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

func (*NonMasterAccountsObservation) DeepCopyInto

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

type NonMasterAccountsParameters

type NonMasterAccountsParameters struct {
}

func (*NonMasterAccountsParameters) DeepCopy

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

func (*NonMasterAccountsParameters) DeepCopyInto

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

type Organization

type Organization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OrganizationSpec   `json:"spec"`
	Status            OrganizationStatus `json:"status,omitempty"`
}

Organization is the Schema for the Organizations API. Provides a resource to create an organization. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

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

func (*Organization) DeepCopyInto

func (in *Organization) DeepCopyInto(out *Organization)

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

func (*Organization) DeepCopyObject

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

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

func (*Organization) GetCondition

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

GetCondition of this Organization.

func (*Organization) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Organization

func (*Organization) GetDeletionPolicy

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

GetDeletionPolicy of this Organization.

func (*Organization) GetID

func (tr *Organization) GetID() string

GetID returns ID of underlying Terraform resource of this Organization

func (*Organization) GetManagementPolicy

func (mg *Organization) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Organization.

func (*Organization) GetObservation

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

GetObservation of this Organization

func (*Organization) GetParameters

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

GetParameters of this Organization

func (*Organization) GetProviderConfigReference

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

GetProviderConfigReference of this Organization.

func (*Organization) GetProviderReference

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

GetProviderReference of this Organization. Deprecated: Use GetProviderConfigReference.

func (*Organization) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Organization.

func (*Organization) GetTerraformResourceType

func (mg *Organization) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Organization

func (*Organization) GetTerraformSchemaVersion

func (tr *Organization) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Organization) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Organization.

func (*Organization) LateInitialize

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

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

func (*Organization) SetConditions

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

SetConditions of this Organization.

func (*Organization) SetDeletionPolicy

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

SetDeletionPolicy of this Organization.

func (*Organization) SetManagementPolicy

func (mg *Organization) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Organization.

func (*Organization) SetObservation

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

SetObservation for this Organization

func (*Organization) SetParameters

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

SetParameters for this Organization

func (*Organization) SetProviderConfigReference

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

SetProviderConfigReference of this Organization.

func (*Organization) SetProviderReference

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

SetProviderReference of this Organization. Deprecated: Use SetProviderConfigReference.

func (*Organization) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Organization.

func (*Organization) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Organization.

type OrganizationList

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

OrganizationList contains a list of Organizations

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

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

func (*OrganizationList) DeepCopyInto

func (in *OrganizationList) DeepCopyInto(out *OrganizationList)

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

func (*OrganizationList) DeepCopyObject

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

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

func (*OrganizationList) GetItems

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

GetItems of this OrganizationList.

type OrganizationObservation

type OrganizationObservation struct {

	// List of organization accounts including the master account. For a list excluding the master account, see the non_master_accounts attribute. All elements have these attributes:
	Accounts []AccountsObservation `json:"accounts,omitempty" tf:"accounts,omitempty"`

	// ARN of the account
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have feature_set set to ALL. Some services do not support enablement via this endpoint, see warning in aws docs.
	AwsServiceAccessPrincipals []*string `json:"awsServiceAccessPrincipals,omitempty" tf:"aws_service_access_principals,omitempty"`

	// List of Organizations policy types to enable in the Organization Root. Organization must have feature_set set to ALL. For additional information about valid policy types (e.g., AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, and TAG_POLICY), see the AWS Organizations API Reference.
	EnabledPolicyTypes []*string `json:"enabledPolicyTypes,omitempty" tf:"enabled_policy_types,omitempty"`

	// Specify "ALL" (default) or "CONSOLIDATED_BILLING".
	FeatureSet *string `json:"featureSet,omitempty" tf:"feature_set,omitempty"`

	// Identifier of the account
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ARN of the master account
	MasterAccountArn *string `json:"masterAccountArn,omitempty" tf:"master_account_arn,omitempty"`

	// Email address of the master account
	MasterAccountEmail *string `json:"masterAccountEmail,omitempty" tf:"master_account_email,omitempty"`

	// Identifier of the master account
	MasterAccountID *string `json:"masterAccountId,omitempty" tf:"master_account_id,omitempty"`

	// List of organization accounts excluding the master account. For a list including the master account, see the accounts attribute. All elements have these attributes:
	NonMasterAccounts []NonMasterAccountsObservation `json:"nonMasterAccounts,omitempty" tf:"non_master_accounts,omitempty"`

	// List of organization roots. All elements have these attributes:
	Roots []RootsObservation `json:"roots,omitempty" tf:"roots,omitempty"`
}

func (*OrganizationObservation) DeepCopy

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

func (*OrganizationObservation) DeepCopyInto

func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation)

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

type OrganizationParameters

type OrganizationParameters struct {

	// List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have feature_set set to ALL. Some services do not support enablement via this endpoint, see warning in aws docs.
	// +kubebuilder:validation:Optional
	AwsServiceAccessPrincipals []*string `json:"awsServiceAccessPrincipals,omitempty" tf:"aws_service_access_principals,omitempty"`

	// List of Organizations policy types to enable in the Organization Root. Organization must have feature_set set to ALL. For additional information about valid policy types (e.g., AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, and TAG_POLICY), see the AWS Organizations API Reference.
	// +kubebuilder:validation:Optional
	EnabledPolicyTypes []*string `json:"enabledPolicyTypes,omitempty" tf:"enabled_policy_types,omitempty"`

	// Specify "ALL" (default) or "CONSOLIDATED_BILLING".
	// +kubebuilder:validation:Optional
	FeatureSet *string `json:"featureSet,omitempty" tf:"feature_set,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 (*OrganizationParameters) DeepCopy

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

func (*OrganizationParameters) DeepCopyInto

func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters)

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

type OrganizationSpec

type OrganizationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OrganizationParameters `json:"forProvider"`
}

OrganizationSpec defines the desired state of Organization

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

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

func (*OrganizationSpec) DeepCopyInto

func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)

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

type OrganizationStatus

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

OrganizationStatus defines the observed state of Organization.

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

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

func (*OrganizationStatus) DeepCopyInto

func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)

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

type OrganizationalUnit

type OrganizationalUnit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.parentId)",message="parentId is a required parameter"
	Spec   OrganizationalUnitSpec   `json:"spec"`
	Status OrganizationalUnitStatus `json:"status,omitempty"`
}

OrganizationalUnit is the Schema for the OrganizationalUnits API. Provides a resource to create an organizational unit. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*OrganizationalUnit) DeepCopy

func (in *OrganizationalUnit) DeepCopy() *OrganizationalUnit

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

func (*OrganizationalUnit) DeepCopyInto

func (in *OrganizationalUnit) DeepCopyInto(out *OrganizationalUnit)

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

func (*OrganizationalUnit) DeepCopyObject

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

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

func (*OrganizationalUnit) GetCondition

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

GetCondition of this OrganizationalUnit.

func (*OrganizationalUnit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OrganizationalUnit

func (*OrganizationalUnit) GetDeletionPolicy

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

GetDeletionPolicy of this OrganizationalUnit.

func (*OrganizationalUnit) GetID

func (tr *OrganizationalUnit) GetID() string

GetID returns ID of underlying Terraform resource of this OrganizationalUnit

func (*OrganizationalUnit) GetManagementPolicy

func (mg *OrganizationalUnit) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this OrganizationalUnit.

func (*OrganizationalUnit) GetObservation

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

GetObservation of this OrganizationalUnit

func (*OrganizationalUnit) GetParameters

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

GetParameters of this OrganizationalUnit

func (*OrganizationalUnit) GetProviderConfigReference

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

GetProviderConfigReference of this OrganizationalUnit.

func (*OrganizationalUnit) GetProviderReference

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

GetProviderReference of this OrganizationalUnit. Deprecated: Use GetProviderConfigReference.

func (*OrganizationalUnit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OrganizationalUnit.

func (*OrganizationalUnit) GetTerraformResourceType

func (mg *OrganizationalUnit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OrganizationalUnit

func (*OrganizationalUnit) GetTerraformSchemaVersion

func (tr *OrganizationalUnit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OrganizationalUnit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OrganizationalUnit.

func (*OrganizationalUnit) LateInitialize

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

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

func (*OrganizationalUnit) SetConditions

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

SetConditions of this OrganizationalUnit.

func (*OrganizationalUnit) SetDeletionPolicy

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

SetDeletionPolicy of this OrganizationalUnit.

func (*OrganizationalUnit) SetManagementPolicy

func (mg *OrganizationalUnit) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this OrganizationalUnit.

func (*OrganizationalUnit) SetObservation

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

SetObservation for this OrganizationalUnit

func (*OrganizationalUnit) SetParameters

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

SetParameters for this OrganizationalUnit

func (*OrganizationalUnit) SetProviderConfigReference

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

SetProviderConfigReference of this OrganizationalUnit.

func (*OrganizationalUnit) SetProviderReference

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

SetProviderReference of this OrganizationalUnit. Deprecated: Use SetProviderConfigReference.

func (*OrganizationalUnit) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OrganizationalUnit.

func (*OrganizationalUnit) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OrganizationalUnit.

type OrganizationalUnitAccountsObservation

type OrganizationalUnitAccountsObservation struct {

	// ARN of the account
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Email of the account
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Identifier of the account
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name for the organizational unit
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*OrganizationalUnitAccountsObservation) DeepCopy

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

func (*OrganizationalUnitAccountsObservation) DeepCopyInto

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

type OrganizationalUnitAccountsParameters

type OrganizationalUnitAccountsParameters struct {
}

func (*OrganizationalUnitAccountsParameters) DeepCopy

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

func (*OrganizationalUnitAccountsParameters) DeepCopyInto

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

type OrganizationalUnitList

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

OrganizationalUnitList contains a list of OrganizationalUnits

func (*OrganizationalUnitList) DeepCopy

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

func (*OrganizationalUnitList) DeepCopyInto

func (in *OrganizationalUnitList) DeepCopyInto(out *OrganizationalUnitList)

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

func (*OrganizationalUnitList) DeepCopyObject

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

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

func (*OrganizationalUnitList) GetItems

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

GetItems of this OrganizationalUnitList.

type OrganizationalUnitObservation

type OrganizationalUnitObservation struct {

	// List of child accounts for this Organizational Unit. Does not return account information for child Organizational Units. All elements have these attributes:
	Accounts []OrganizationalUnitAccountsObservation `json:"accounts,omitempty" tf:"accounts,omitempty"`

	// ARN of the account
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Identifier of the account
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name for the organizational unit
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the parent organizational unit, which may be the root
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

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

func (*OrganizationalUnitObservation) DeepCopy

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

func (*OrganizationalUnitObservation) DeepCopyInto

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

type OrganizationalUnitParameters

type OrganizationalUnitParameters struct {

	// The name for the organizational unit
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the parent organizational unit, which may be the root
	// +kubebuilder:validation:Optional
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*OrganizationalUnitParameters) DeepCopy

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

func (*OrganizationalUnitParameters) DeepCopyInto

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

type OrganizationalUnitSpec

type OrganizationalUnitSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OrganizationalUnitParameters `json:"forProvider"`
}

OrganizationalUnitSpec defines the desired state of OrganizationalUnit

func (*OrganizationalUnitSpec) DeepCopy

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

func (*OrganizationalUnitSpec) DeepCopyInto

func (in *OrganizationalUnitSpec) DeepCopyInto(out *OrganizationalUnitSpec)

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

type OrganizationalUnitStatus

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

OrganizationalUnitStatus defines the observed state of OrganizationalUnit.

func (*OrganizationalUnitStatus) DeepCopy

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

func (*OrganizationalUnitStatus) DeepCopyInto

func (in *OrganizationalUnitStatus) DeepCopyInto(out *OrganizationalUnitStatus)

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.content)",message="content is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   PolicySpec   `json:"spec"`
	Status PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. Provides a resource to manage an AWS Organizations policy. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetManagementPolicy

func (mg *Policy) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Policy.

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetProviderReference

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

GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetManagementPolicy

func (mg *Policy) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetProviderReference

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

SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyAttachment

type PolicyAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.targetId)",message="targetId is a required parameter"
	Spec   PolicyAttachmentSpec   `json:"spec"`
	Status PolicyAttachmentStatus `json:"status,omitempty"`
}

PolicyAttachment is the Schema for the PolicyAttachments API. Provides a resource to attach an AWS Organizations policy to an organization account, root, or unit. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*PolicyAttachment) DeepCopy

func (in *PolicyAttachment) DeepCopy() *PolicyAttachment

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

func (*PolicyAttachment) DeepCopyInto

func (in *PolicyAttachment) DeepCopyInto(out *PolicyAttachment)

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

func (*PolicyAttachment) DeepCopyObject

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

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

func (*PolicyAttachment) GetCondition

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

GetCondition of this PolicyAttachment.

func (*PolicyAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyAttachment

func (*PolicyAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyAttachment.

func (*PolicyAttachment) GetID

func (tr *PolicyAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyAttachment

func (*PolicyAttachment) GetManagementPolicy

func (mg *PolicyAttachment) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this PolicyAttachment.

func (*PolicyAttachment) GetObservation

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

GetObservation of this PolicyAttachment

func (*PolicyAttachment) GetParameters

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

GetParameters of this PolicyAttachment

func (*PolicyAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyAttachment.

func (*PolicyAttachment) GetProviderReference

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

GetProviderReference of this PolicyAttachment. Deprecated: Use GetProviderConfigReference.

func (*PolicyAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyAttachment.

func (*PolicyAttachment) GetTerraformResourceType

func (mg *PolicyAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyAttachment

func (*PolicyAttachment) GetTerraformSchemaVersion

func (tr *PolicyAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyAttachment.

func (*PolicyAttachment) LateInitialize

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

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

func (*PolicyAttachment) ResolveReferences

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

ResolveReferences of this PolicyAttachment.

func (*PolicyAttachment) SetConditions

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

SetConditions of this PolicyAttachment.

func (*PolicyAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyAttachment.

func (*PolicyAttachment) SetManagementPolicy

func (mg *PolicyAttachment) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this PolicyAttachment.

func (*PolicyAttachment) SetObservation

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

SetObservation for this PolicyAttachment

func (*PolicyAttachment) SetParameters

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

SetParameters for this PolicyAttachment

func (*PolicyAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyAttachment.

func (*PolicyAttachment) SetProviderReference

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

SetProviderReference of this PolicyAttachment. Deprecated: Use SetProviderConfigReference.

func (*PolicyAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyAttachment.

func (*PolicyAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyAttachment.

type PolicyAttachmentList

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

PolicyAttachmentList contains a list of PolicyAttachments

func (*PolicyAttachmentList) DeepCopy

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

func (*PolicyAttachmentList) DeepCopyInto

func (in *PolicyAttachmentList) DeepCopyInto(out *PolicyAttachmentList)

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

func (*PolicyAttachmentList) DeepCopyObject

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

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

func (*PolicyAttachmentList) GetItems

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

GetItems of this PolicyAttachmentList.

type PolicyAttachmentObservation

type PolicyAttachmentObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The unique identifier (ID) of the policy that you want to attach to the target.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// If set to true, destroy will not detach the policy and instead just remove the resource from state. This can be useful in situations where the attachment must be preserved to meet the AWS minimum requirement of 1 attached policy.
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
	TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
}

func (*PolicyAttachmentObservation) DeepCopy

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

func (*PolicyAttachmentObservation) DeepCopyInto

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

type PolicyAttachmentParameters

type PolicyAttachmentParameters struct {

	// The unique identifier (ID) of the policy that you want to attach to the target.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/organizations/v1beta1.Policy
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// Reference to a Policy in organizations to populate policyId.
	// +kubebuilder:validation:Optional
	PolicyIDRef *v1.Reference `json:"policyIdRef,omitempty" tf:"-"`

	// Selector for a Policy in organizations to populate policyId.
	// +kubebuilder:validation:Optional
	PolicyIDSelector *v1.Selector `json:"policyIdSelector,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:"-"`

	// If set to true, destroy will not detach the policy and instead just remove the resource from state. This can be useful in situations where the attachment must be preserved to meet the AWS minimum requirement of 1 attached policy.
	// +kubebuilder:validation:Optional
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
	// +kubebuilder:validation:Optional
	TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
}

func (*PolicyAttachmentParameters) DeepCopy

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

func (*PolicyAttachmentParameters) DeepCopyInto

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

type PolicyAttachmentSpec

type PolicyAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyAttachmentParameters `json:"forProvider"`
}

PolicyAttachmentSpec defines the desired state of PolicyAttachment

func (*PolicyAttachmentSpec) DeepCopy

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

func (*PolicyAttachmentSpec) DeepCopyInto

func (in *PolicyAttachmentSpec) DeepCopyInto(out *PolicyAttachmentSpec)

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

type PolicyAttachmentStatus

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

PolicyAttachmentStatus defines the observed state of PolicyAttachment.

func (*PolicyAttachmentStatus) DeepCopy

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

func (*PolicyAttachmentStatus) DeepCopyInto

func (in *PolicyAttachmentStatus) DeepCopyInto(out *PolicyAttachmentStatus)

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

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

type PolicyObservation struct {

	// Amazon Resource Name (ARN) of the policy.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The policy content to add to the new policy. For example, if you create a service control policy (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see the Service Control Policy Syntax documentation and for more information on the Tag Policy syntax, see the Tag Policy Syntax documentation.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// A description to assign to the policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The unique identifier (ID) of the policy.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The friendly name to assign to the policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If set to true, destroy will not delete the policy and instead just remove the resource from state. This can be useful in situations where the policies (and the associated attachment) must be preserved to meet the AWS minimum requirement of 1 attached policy.
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

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

	// The type of policy to create. Valid values are AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY (SCP), and TAG_POLICY. Defaults to SERVICE_CONTROL_POLICY.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// The policy content to add to the new policy. For example, if you create a service control policy (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see the Service Control Policy Syntax documentation and for more information on the Tag Policy syntax, see the Tag Policy Syntax documentation.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// A description to assign to the policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The friendly name to assign to the policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,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:"-"`

	// If set to true, destroy will not delete the policy and instead just remove the resource from state. This can be useful in situations where the policies (and the associated attachment) must be preserved to meet the AWS minimum requirement of 1 attached policy.
	// +kubebuilder:validation:Optional
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of policy to create. Valid values are AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY (SCP), and TAG_POLICY. Defaults to SERVICE_CONTROL_POLICY.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `json:"forProvider"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type PolicyTypesObservation

type PolicyTypesObservation struct {

	// Current status of the account
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*PolicyTypesObservation) DeepCopy

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

func (*PolicyTypesObservation) DeepCopyInto

func (in *PolicyTypesObservation) DeepCopyInto(out *PolicyTypesObservation)

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

type PolicyTypesParameters

type PolicyTypesParameters struct {
}

func (*PolicyTypesParameters) DeepCopy

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

func (*PolicyTypesParameters) DeepCopyInto

func (in *PolicyTypesParameters) DeepCopyInto(out *PolicyTypesParameters)

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

type RootsObservation

type RootsObservation struct {

	// ARN of the account
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Identifier of the account
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the account
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// List of policy types enabled for this root. All elements have these attributes:
	PolicyTypes []PolicyTypesObservation `json:"policyTypes,omitempty" tf:"policy_types,omitempty"`
}

func (*RootsObservation) DeepCopy

func (in *RootsObservation) DeepCopy() *RootsObservation

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

func (*RootsObservation) DeepCopyInto

func (in *RootsObservation) DeepCopyInto(out *RootsObservation)

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

type RootsParameters

type RootsParameters struct {
}

func (*RootsParameters) DeepCopy

func (in *RootsParameters) DeepCopy() *RootsParameters

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

func (*RootsParameters) DeepCopyInto

func (in *RootsParameters) DeepCopyInto(out *RootsParameters)

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