Documentation ¶
Index ¶
- type Account
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- func (o AccountOutput) Arn() pulumi.StringOutput
- func (o AccountOutput) CloseOnDeletion() pulumi.BoolPtrOutput
- func (o AccountOutput) CreateGovcloud() pulumi.BoolPtrOutput
- func (AccountOutput) ElementType() reflect.Type
- func (o AccountOutput) Email() pulumi.StringOutput
- func (o AccountOutput) GovcloudId() pulumi.StringOutput
- func (o AccountOutput) IamUserAccessToBilling() pulumi.StringPtrOutput
- func (o AccountOutput) JoinedMethod() pulumi.StringOutput
- func (o AccountOutput) JoinedTimestamp() pulumi.StringOutput
- func (o AccountOutput) Name() pulumi.StringOutput
- func (o AccountOutput) ParentId() pulumi.StringOutput
- func (o AccountOutput) RoleName() pulumi.StringPtrOutput
- func (o AccountOutput) Status() pulumi.StringOutput
- func (o AccountOutput) Tags() pulumi.StringMapOutput
- func (o AccountOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o AccountOutput) ToAccountOutput() AccountOutput
- func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- type AccountState
- type DelegatedAdministrator
- type DelegatedAdministratorArgs
- type DelegatedAdministratorArray
- func (DelegatedAdministratorArray) ElementType() reflect.Type
- func (i DelegatedAdministratorArray) ToDelegatedAdministratorArrayOutput() DelegatedAdministratorArrayOutput
- func (i DelegatedAdministratorArray) ToDelegatedAdministratorArrayOutputWithContext(ctx context.Context) DelegatedAdministratorArrayOutput
- type DelegatedAdministratorArrayInput
- type DelegatedAdministratorArrayOutput
- func (DelegatedAdministratorArrayOutput) ElementType() reflect.Type
- func (o DelegatedAdministratorArrayOutput) Index(i pulumi.IntInput) DelegatedAdministratorOutput
- func (o DelegatedAdministratorArrayOutput) ToDelegatedAdministratorArrayOutput() DelegatedAdministratorArrayOutput
- func (o DelegatedAdministratorArrayOutput) ToDelegatedAdministratorArrayOutputWithContext(ctx context.Context) DelegatedAdministratorArrayOutput
- type DelegatedAdministratorInput
- type DelegatedAdministratorMap
- type DelegatedAdministratorMapInput
- type DelegatedAdministratorMapOutput
- func (DelegatedAdministratorMapOutput) ElementType() reflect.Type
- func (o DelegatedAdministratorMapOutput) MapIndex(k pulumi.StringInput) DelegatedAdministratorOutput
- func (o DelegatedAdministratorMapOutput) ToDelegatedAdministratorMapOutput() DelegatedAdministratorMapOutput
- func (o DelegatedAdministratorMapOutput) ToDelegatedAdministratorMapOutputWithContext(ctx context.Context) DelegatedAdministratorMapOutput
- type DelegatedAdministratorOutput
- func (o DelegatedAdministratorOutput) AccountId() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) Arn() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) DelegationEnabledDate() pulumi.StringOutput
- func (DelegatedAdministratorOutput) ElementType() reflect.Type
- func (o DelegatedAdministratorOutput) Email() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) JoinedMethod() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) JoinedTimestamp() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) Name() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) ServicePrincipal() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) Status() pulumi.StringOutput
- func (o DelegatedAdministratorOutput) ToDelegatedAdministratorOutput() DelegatedAdministratorOutput
- func (o DelegatedAdministratorOutput) ToDelegatedAdministratorOutputWithContext(ctx context.Context) DelegatedAdministratorOutput
- type DelegatedAdministratorState
- type GetDelegatedAdministratorsArgs
- type GetDelegatedAdministratorsDelegatedAdministrator
- type GetDelegatedAdministratorsDelegatedAdministratorArgs
- func (GetDelegatedAdministratorsDelegatedAdministratorArgs) ElementType() reflect.Type
- func (i GetDelegatedAdministratorsDelegatedAdministratorArgs) ToGetDelegatedAdministratorsDelegatedAdministratorOutput() GetDelegatedAdministratorsDelegatedAdministratorOutput
- func (i GetDelegatedAdministratorsDelegatedAdministratorArgs) ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorOutput
- type GetDelegatedAdministratorsDelegatedAdministratorArray
- func (GetDelegatedAdministratorsDelegatedAdministratorArray) ElementType() reflect.Type
- func (i GetDelegatedAdministratorsDelegatedAdministratorArray) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
- func (i GetDelegatedAdministratorsDelegatedAdministratorArray) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
- type GetDelegatedAdministratorsDelegatedAdministratorArrayInput
- type GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
- func (GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ElementType() reflect.Type
- func (o GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) Index(i pulumi.IntInput) GetDelegatedAdministratorsDelegatedAdministratorOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
- type GetDelegatedAdministratorsDelegatedAdministratorInput
- type GetDelegatedAdministratorsDelegatedAdministratorOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Arn() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) DelegationEnabledDate() pulumi.StringOutput
- func (GetDelegatedAdministratorsDelegatedAdministratorOutput) ElementType() reflect.Type
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Email() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Id() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) JoinedMethod() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) JoinedTimestamp() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Name() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Status() pulumi.StringOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) ToGetDelegatedAdministratorsDelegatedAdministratorOutput() GetDelegatedAdministratorsDelegatedAdministratorOutput
- func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorOutput
- type GetDelegatedAdministratorsOutputArgs
- type GetDelegatedAdministratorsResult
- type GetDelegatedAdministratorsResultOutput
- func (o GetDelegatedAdministratorsResultOutput) DelegatedAdministrators() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
- func (GetDelegatedAdministratorsResultOutput) ElementType() reflect.Type
- func (o GetDelegatedAdministratorsResultOutput) Id() pulumi.StringOutput
- func (o GetDelegatedAdministratorsResultOutput) ServicePrincipal() pulumi.StringPtrOutput
- func (o GetDelegatedAdministratorsResultOutput) ToGetDelegatedAdministratorsResultOutput() GetDelegatedAdministratorsResultOutput
- func (o GetDelegatedAdministratorsResultOutput) ToGetDelegatedAdministratorsResultOutputWithContext(ctx context.Context) GetDelegatedAdministratorsResultOutput
- type GetDelegatedServicesArgs
- type GetDelegatedServicesDelegatedService
- type GetDelegatedServicesDelegatedServiceArgs
- func (GetDelegatedServicesDelegatedServiceArgs) ElementType() reflect.Type
- func (i GetDelegatedServicesDelegatedServiceArgs) ToGetDelegatedServicesDelegatedServiceOutput() GetDelegatedServicesDelegatedServiceOutput
- func (i GetDelegatedServicesDelegatedServiceArgs) ToGetDelegatedServicesDelegatedServiceOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceOutput
- type GetDelegatedServicesDelegatedServiceArray
- func (GetDelegatedServicesDelegatedServiceArray) ElementType() reflect.Type
- func (i GetDelegatedServicesDelegatedServiceArray) ToGetDelegatedServicesDelegatedServiceArrayOutput() GetDelegatedServicesDelegatedServiceArrayOutput
- func (i GetDelegatedServicesDelegatedServiceArray) ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceArrayOutput
- type GetDelegatedServicesDelegatedServiceArrayInput
- type GetDelegatedServicesDelegatedServiceArrayOutput
- func (GetDelegatedServicesDelegatedServiceArrayOutput) ElementType() reflect.Type
- func (o GetDelegatedServicesDelegatedServiceArrayOutput) Index(i pulumi.IntInput) GetDelegatedServicesDelegatedServiceOutput
- func (o GetDelegatedServicesDelegatedServiceArrayOutput) ToGetDelegatedServicesDelegatedServiceArrayOutput() GetDelegatedServicesDelegatedServiceArrayOutput
- func (o GetDelegatedServicesDelegatedServiceArrayOutput) ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceArrayOutput
- type GetDelegatedServicesDelegatedServiceInput
- type GetDelegatedServicesDelegatedServiceOutput
- func (o GetDelegatedServicesDelegatedServiceOutput) DelegationEnabledDate() pulumi.StringOutput
- func (GetDelegatedServicesDelegatedServiceOutput) ElementType() reflect.Type
- func (o GetDelegatedServicesDelegatedServiceOutput) ServicePrincipal() pulumi.StringOutput
- func (o GetDelegatedServicesDelegatedServiceOutput) ToGetDelegatedServicesDelegatedServiceOutput() GetDelegatedServicesDelegatedServiceOutput
- func (o GetDelegatedServicesDelegatedServiceOutput) ToGetDelegatedServicesDelegatedServiceOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceOutput
- type GetDelegatedServicesOutputArgs
- type GetDelegatedServicesResult
- type GetDelegatedServicesResultOutput
- func (o GetDelegatedServicesResultOutput) AccountId() pulumi.StringOutput
- func (o GetDelegatedServicesResultOutput) DelegatedServices() GetDelegatedServicesDelegatedServiceArrayOutput
- func (GetDelegatedServicesResultOutput) ElementType() reflect.Type
- func (o GetDelegatedServicesResultOutput) Id() pulumi.StringOutput
- func (o GetDelegatedServicesResultOutput) ToGetDelegatedServicesResultOutput() GetDelegatedServicesResultOutput
- func (o GetDelegatedServicesResultOutput) ToGetDelegatedServicesResultOutputWithContext(ctx context.Context) GetDelegatedServicesResultOutput
- type GetOrganizationAccount
- type GetOrganizationAccountArgs
- type GetOrganizationAccountArray
- func (GetOrganizationAccountArray) ElementType() reflect.Type
- func (i GetOrganizationAccountArray) ToGetOrganizationAccountArrayOutput() GetOrganizationAccountArrayOutput
- func (i GetOrganizationAccountArray) ToGetOrganizationAccountArrayOutputWithContext(ctx context.Context) GetOrganizationAccountArrayOutput
- type GetOrganizationAccountArrayInput
- type GetOrganizationAccountArrayOutput
- func (GetOrganizationAccountArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationAccountArrayOutput) Index(i pulumi.IntInput) GetOrganizationAccountOutput
- func (o GetOrganizationAccountArrayOutput) ToGetOrganizationAccountArrayOutput() GetOrganizationAccountArrayOutput
- func (o GetOrganizationAccountArrayOutput) ToGetOrganizationAccountArrayOutputWithContext(ctx context.Context) GetOrganizationAccountArrayOutput
- type GetOrganizationAccountInput
- type GetOrganizationAccountOutput
- func (o GetOrganizationAccountOutput) Arn() pulumi.StringOutput
- func (GetOrganizationAccountOutput) ElementType() reflect.Type
- func (o GetOrganizationAccountOutput) Email() pulumi.StringOutput
- func (o GetOrganizationAccountOutput) Id() pulumi.StringOutput
- func (o GetOrganizationAccountOutput) Name() pulumi.StringOutput
- func (o GetOrganizationAccountOutput) Status() pulumi.StringOutput
- func (o GetOrganizationAccountOutput) ToGetOrganizationAccountOutput() GetOrganizationAccountOutput
- func (o GetOrganizationAccountOutput) ToGetOrganizationAccountOutputWithContext(ctx context.Context) GetOrganizationAccountOutput
- type GetOrganizationNonMasterAccount
- type GetOrganizationNonMasterAccountArgs
- func (GetOrganizationNonMasterAccountArgs) ElementType() reflect.Type
- func (i GetOrganizationNonMasterAccountArgs) ToGetOrganizationNonMasterAccountOutput() GetOrganizationNonMasterAccountOutput
- func (i GetOrganizationNonMasterAccountArgs) ToGetOrganizationNonMasterAccountOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountOutput
- type GetOrganizationNonMasterAccountArray
- func (GetOrganizationNonMasterAccountArray) ElementType() reflect.Type
- func (i GetOrganizationNonMasterAccountArray) ToGetOrganizationNonMasterAccountArrayOutput() GetOrganizationNonMasterAccountArrayOutput
- func (i GetOrganizationNonMasterAccountArray) ToGetOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountArrayOutput
- type GetOrganizationNonMasterAccountArrayInput
- type GetOrganizationNonMasterAccountArrayOutput
- func (GetOrganizationNonMasterAccountArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationNonMasterAccountArrayOutput) Index(i pulumi.IntInput) GetOrganizationNonMasterAccountOutput
- func (o GetOrganizationNonMasterAccountArrayOutput) ToGetOrganizationNonMasterAccountArrayOutput() GetOrganizationNonMasterAccountArrayOutput
- func (o GetOrganizationNonMasterAccountArrayOutput) ToGetOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountArrayOutput
- type GetOrganizationNonMasterAccountInput
- type GetOrganizationNonMasterAccountOutput
- func (o GetOrganizationNonMasterAccountOutput) Arn() pulumi.StringOutput
- func (GetOrganizationNonMasterAccountOutput) ElementType() reflect.Type
- func (o GetOrganizationNonMasterAccountOutput) Email() pulumi.StringOutput
- func (o GetOrganizationNonMasterAccountOutput) Id() pulumi.StringOutput
- func (o GetOrganizationNonMasterAccountOutput) Name() pulumi.StringOutput
- func (o GetOrganizationNonMasterAccountOutput) Status() pulumi.StringOutput
- func (o GetOrganizationNonMasterAccountOutput) ToGetOrganizationNonMasterAccountOutput() GetOrganizationNonMasterAccountOutput
- func (o GetOrganizationNonMasterAccountOutput) ToGetOrganizationNonMasterAccountOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountOutput
- type GetOrganizationRoot
- type GetOrganizationRootArgs
- type GetOrganizationRootArray
- type GetOrganizationRootArrayInput
- type GetOrganizationRootArrayOutput
- func (GetOrganizationRootArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationRootArrayOutput) Index(i pulumi.IntInput) GetOrganizationRootOutput
- func (o GetOrganizationRootArrayOutput) ToGetOrganizationRootArrayOutput() GetOrganizationRootArrayOutput
- func (o GetOrganizationRootArrayOutput) ToGetOrganizationRootArrayOutputWithContext(ctx context.Context) GetOrganizationRootArrayOutput
- type GetOrganizationRootInput
- type GetOrganizationRootOutput
- func (o GetOrganizationRootOutput) Arn() pulumi.StringOutput
- func (GetOrganizationRootOutput) ElementType() reflect.Type
- func (o GetOrganizationRootOutput) Id() pulumi.StringOutput
- func (o GetOrganizationRootOutput) Name() pulumi.StringOutput
- func (o GetOrganizationRootOutput) PolicyTypes() GetOrganizationRootPolicyTypeArrayOutput
- func (o GetOrganizationRootOutput) ToGetOrganizationRootOutput() GetOrganizationRootOutput
- func (o GetOrganizationRootOutput) ToGetOrganizationRootOutputWithContext(ctx context.Context) GetOrganizationRootOutput
- type GetOrganizationRootPolicyType
- type GetOrganizationRootPolicyTypeArgs
- func (GetOrganizationRootPolicyTypeArgs) ElementType() reflect.Type
- func (i GetOrganizationRootPolicyTypeArgs) ToGetOrganizationRootPolicyTypeOutput() GetOrganizationRootPolicyTypeOutput
- func (i GetOrganizationRootPolicyTypeArgs) ToGetOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeOutput
- type GetOrganizationRootPolicyTypeArray
- func (GetOrganizationRootPolicyTypeArray) ElementType() reflect.Type
- func (i GetOrganizationRootPolicyTypeArray) ToGetOrganizationRootPolicyTypeArrayOutput() GetOrganizationRootPolicyTypeArrayOutput
- func (i GetOrganizationRootPolicyTypeArray) ToGetOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeArrayOutput
- type GetOrganizationRootPolicyTypeArrayInput
- type GetOrganizationRootPolicyTypeArrayOutput
- func (GetOrganizationRootPolicyTypeArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationRootPolicyTypeArrayOutput) Index(i pulumi.IntInput) GetOrganizationRootPolicyTypeOutput
- func (o GetOrganizationRootPolicyTypeArrayOutput) ToGetOrganizationRootPolicyTypeArrayOutput() GetOrganizationRootPolicyTypeArrayOutput
- func (o GetOrganizationRootPolicyTypeArrayOutput) ToGetOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeArrayOutput
- type GetOrganizationRootPolicyTypeInput
- type GetOrganizationRootPolicyTypeOutput
- func (GetOrganizationRootPolicyTypeOutput) ElementType() reflect.Type
- func (o GetOrganizationRootPolicyTypeOutput) Status() pulumi.StringOutput
- func (o GetOrganizationRootPolicyTypeOutput) ToGetOrganizationRootPolicyTypeOutput() GetOrganizationRootPolicyTypeOutput
- func (o GetOrganizationRootPolicyTypeOutput) ToGetOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeOutput
- func (o GetOrganizationRootPolicyTypeOutput) Type() pulumi.StringOutput
- type GetOrganizationalUnitChildAccountsAccount
- type GetOrganizationalUnitChildAccountsAccountArgs
- func (GetOrganizationalUnitChildAccountsAccountArgs) ElementType() reflect.Type
- func (i GetOrganizationalUnitChildAccountsAccountArgs) ToGetOrganizationalUnitChildAccountsAccountOutput() GetOrganizationalUnitChildAccountsAccountOutput
- func (i GetOrganizationalUnitChildAccountsAccountArgs) ToGetOrganizationalUnitChildAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountOutput
- type GetOrganizationalUnitChildAccountsAccountArray
- func (GetOrganizationalUnitChildAccountsAccountArray) ElementType() reflect.Type
- func (i GetOrganizationalUnitChildAccountsAccountArray) ToGetOrganizationalUnitChildAccountsAccountArrayOutput() GetOrganizationalUnitChildAccountsAccountArrayOutput
- func (i GetOrganizationalUnitChildAccountsAccountArray) ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountArrayOutput
- type GetOrganizationalUnitChildAccountsAccountArrayInput
- type GetOrganizationalUnitChildAccountsAccountArrayOutput
- func (GetOrganizationalUnitChildAccountsAccountArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitChildAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetOrganizationalUnitChildAccountsAccountOutput
- func (o GetOrganizationalUnitChildAccountsAccountArrayOutput) ToGetOrganizationalUnitChildAccountsAccountArrayOutput() GetOrganizationalUnitChildAccountsAccountArrayOutput
- func (o GetOrganizationalUnitChildAccountsAccountArrayOutput) ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountArrayOutput
- type GetOrganizationalUnitChildAccountsAccountInput
- type GetOrganizationalUnitChildAccountsAccountOutput
- func (o GetOrganizationalUnitChildAccountsAccountOutput) Arn() pulumi.StringOutput
- func (GetOrganizationalUnitChildAccountsAccountOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitChildAccountsAccountOutput) Email() pulumi.StringOutput
- func (o GetOrganizationalUnitChildAccountsAccountOutput) Id() pulumi.StringOutput
- func (o GetOrganizationalUnitChildAccountsAccountOutput) Name() pulumi.StringOutput
- func (o GetOrganizationalUnitChildAccountsAccountOutput) Status() pulumi.StringOutput
- func (o GetOrganizationalUnitChildAccountsAccountOutput) ToGetOrganizationalUnitChildAccountsAccountOutput() GetOrganizationalUnitChildAccountsAccountOutput
- func (o GetOrganizationalUnitChildAccountsAccountOutput) ToGetOrganizationalUnitChildAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountOutput
- type GetOrganizationalUnitChildAccountsArgs
- type GetOrganizationalUnitChildAccountsOutputArgs
- type GetOrganizationalUnitChildAccountsResult
- type GetOrganizationalUnitChildAccountsResultOutput
- func (o GetOrganizationalUnitChildAccountsResultOutput) Accounts() GetOrganizationalUnitChildAccountsAccountArrayOutput
- func (GetOrganizationalUnitChildAccountsResultOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitChildAccountsResultOutput) Id() pulumi.StringOutput
- func (o GetOrganizationalUnitChildAccountsResultOutput) ParentId() pulumi.StringOutput
- func (o GetOrganizationalUnitChildAccountsResultOutput) ToGetOrganizationalUnitChildAccountsResultOutput() GetOrganizationalUnitChildAccountsResultOutput
- func (o GetOrganizationalUnitChildAccountsResultOutput) ToGetOrganizationalUnitChildAccountsResultOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsResultOutput
- type GetOrganizationalUnitDescendantAccountsAccount
- type GetOrganizationalUnitDescendantAccountsAccountArgs
- func (GetOrganizationalUnitDescendantAccountsAccountArgs) ElementType() reflect.Type
- func (i GetOrganizationalUnitDescendantAccountsAccountArgs) ToGetOrganizationalUnitDescendantAccountsAccountOutput() GetOrganizationalUnitDescendantAccountsAccountOutput
- func (i GetOrganizationalUnitDescendantAccountsAccountArgs) ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountOutput
- type GetOrganizationalUnitDescendantAccountsAccountArray
- func (GetOrganizationalUnitDescendantAccountsAccountArray) ElementType() reflect.Type
- func (i GetOrganizationalUnitDescendantAccountsAccountArray) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput() GetOrganizationalUnitDescendantAccountsAccountArrayOutput
- func (i GetOrganizationalUnitDescendantAccountsAccountArray) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountArrayOutput
- type GetOrganizationalUnitDescendantAccountsAccountArrayInput
- type GetOrganizationalUnitDescendantAccountsAccountArrayOutput
- func (GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitDescendantAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetOrganizationalUnitDescendantAccountsAccountOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput() GetOrganizationalUnitDescendantAccountsAccountArrayOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountArrayOutput
- type GetOrganizationalUnitDescendantAccountsAccountInput
- type GetOrganizationalUnitDescendantAccountsAccountOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Arn() pulumi.StringOutput
- func (GetOrganizationalUnitDescendantAccountsAccountOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Email() pulumi.StringOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Id() pulumi.StringOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Name() pulumi.StringOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Status() pulumi.StringOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) ToGetOrganizationalUnitDescendantAccountsAccountOutput() GetOrganizationalUnitDescendantAccountsAccountOutput
- func (o GetOrganizationalUnitDescendantAccountsAccountOutput) ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountOutput
- type GetOrganizationalUnitDescendantAccountsArgs
- type GetOrganizationalUnitDescendantAccountsOutputArgs
- type GetOrganizationalUnitDescendantAccountsResult
- type GetOrganizationalUnitDescendantAccountsResultOutput
- func (o GetOrganizationalUnitDescendantAccountsResultOutput) Accounts() GetOrganizationalUnitDescendantAccountsAccountArrayOutput
- func (GetOrganizationalUnitDescendantAccountsResultOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitDescendantAccountsResultOutput) Id() pulumi.StringOutput
- func (o GetOrganizationalUnitDescendantAccountsResultOutput) ParentId() pulumi.StringOutput
- func (o GetOrganizationalUnitDescendantAccountsResultOutput) ToGetOrganizationalUnitDescendantAccountsResultOutput() GetOrganizationalUnitDescendantAccountsResultOutput
- func (o GetOrganizationalUnitDescendantAccountsResultOutput) ToGetOrganizationalUnitDescendantAccountsResultOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsResultOutput
- type GetOrganizationalUnitsArgs
- type GetOrganizationalUnitsChild
- type GetOrganizationalUnitsChildArgs
- func (GetOrganizationalUnitsChildArgs) ElementType() reflect.Type
- func (i GetOrganizationalUnitsChildArgs) ToGetOrganizationalUnitsChildOutput() GetOrganizationalUnitsChildOutput
- func (i GetOrganizationalUnitsChildArgs) ToGetOrganizationalUnitsChildOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildOutput
- type GetOrganizationalUnitsChildArray
- func (GetOrganizationalUnitsChildArray) ElementType() reflect.Type
- func (i GetOrganizationalUnitsChildArray) ToGetOrganizationalUnitsChildArrayOutput() GetOrganizationalUnitsChildArrayOutput
- func (i GetOrganizationalUnitsChildArray) ToGetOrganizationalUnitsChildArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildArrayOutput
- type GetOrganizationalUnitsChildArrayInput
- type GetOrganizationalUnitsChildArrayOutput
- func (GetOrganizationalUnitsChildArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitsChildArrayOutput) Index(i pulumi.IntInput) GetOrganizationalUnitsChildOutput
- func (o GetOrganizationalUnitsChildArrayOutput) ToGetOrganizationalUnitsChildArrayOutput() GetOrganizationalUnitsChildArrayOutput
- func (o GetOrganizationalUnitsChildArrayOutput) ToGetOrganizationalUnitsChildArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildArrayOutput
- type GetOrganizationalUnitsChildInput
- type GetOrganizationalUnitsChildOutput
- func (o GetOrganizationalUnitsChildOutput) Arn() pulumi.StringOutput
- func (GetOrganizationalUnitsChildOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitsChildOutput) Id() pulumi.StringOutput
- func (o GetOrganizationalUnitsChildOutput) Name() pulumi.StringOutput
- func (o GetOrganizationalUnitsChildOutput) ToGetOrganizationalUnitsChildOutput() GetOrganizationalUnitsChildOutput
- func (o GetOrganizationalUnitsChildOutput) ToGetOrganizationalUnitsChildOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildOutput
- type GetOrganizationalUnitsOutputArgs
- type GetOrganizationalUnitsResult
- type GetOrganizationalUnitsResultOutput
- func (o GetOrganizationalUnitsResultOutput) Children() GetOrganizationalUnitsChildArrayOutput
- func (GetOrganizationalUnitsResultOutput) ElementType() reflect.Type
- func (o GetOrganizationalUnitsResultOutput) Id() pulumi.StringOutput
- func (o GetOrganizationalUnitsResultOutput) ParentId() pulumi.StringOutput
- func (o GetOrganizationalUnitsResultOutput) ToGetOrganizationalUnitsResultOutput() GetOrganizationalUnitsResultOutput
- func (o GetOrganizationalUnitsResultOutput) ToGetOrganizationalUnitsResultOutputWithContext(ctx context.Context) GetOrganizationalUnitsResultOutput
- type GetPoliciesArgs
- type GetPoliciesForTargetArgs
- type GetPoliciesForTargetOutputArgs
- type GetPoliciesForTargetResult
- type GetPoliciesForTargetResultOutput
- func (GetPoliciesForTargetResultOutput) ElementType() reflect.Type
- func (o GetPoliciesForTargetResultOutput) Filter() pulumi.StringOutput
- func (o GetPoliciesForTargetResultOutput) Id() pulumi.StringOutput
- func (o GetPoliciesForTargetResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetPoliciesForTargetResultOutput) TargetId() pulumi.StringOutput
- func (o GetPoliciesForTargetResultOutput) ToGetPoliciesForTargetResultOutput() GetPoliciesForTargetResultOutput
- func (o GetPoliciesForTargetResultOutput) ToGetPoliciesForTargetResultOutputWithContext(ctx context.Context) GetPoliciesForTargetResultOutput
- type GetPoliciesOutputArgs
- type GetPoliciesResult
- type GetPoliciesResultOutput
- func (GetPoliciesResultOutput) ElementType() reflect.Type
- func (o GetPoliciesResultOutput) Filter() pulumi.StringOutput
- func (o GetPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetPoliciesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetPoliciesResultOutput) ToGetPoliciesResultOutput() GetPoliciesResultOutput
- func (o GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext(ctx context.Context) GetPoliciesResultOutput
- type GetResourceTagsArgs
- type GetResourceTagsOutputArgs
- type GetResourceTagsResult
- type GetResourceTagsResultOutput
- func (GetResourceTagsResultOutput) ElementType() reflect.Type
- func (o GetResourceTagsResultOutput) Id() pulumi.StringOutput
- func (o GetResourceTagsResultOutput) ResourceId() pulumi.StringOutput
- func (o GetResourceTagsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetResourceTagsResultOutput) ToGetResourceTagsResultOutput() GetResourceTagsResultOutput
- func (o GetResourceTagsResultOutput) ToGetResourceTagsResultOutputWithContext(ctx context.Context) GetResourceTagsResultOutput
- type LookupOrganizationResult
- type LookupOrganizationResultOutput
- func (o LookupOrganizationResultOutput) Accounts() GetOrganizationAccountArrayOutput
- func (o LookupOrganizationResultOutput) Arn() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) AwsServiceAccessPrincipals() pulumi.StringArrayOutput
- func (LookupOrganizationResultOutput) ElementType() reflect.Type
- func (o LookupOrganizationResultOutput) EnabledPolicyTypes() pulumi.StringArrayOutput
- func (o LookupOrganizationResultOutput) FeatureSet() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) Id() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) MasterAccountArn() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) MasterAccountEmail() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) MasterAccountId() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) MasterAccountName() pulumi.StringOutput
- func (o LookupOrganizationResultOutput) NonMasterAccounts() GetOrganizationNonMasterAccountArrayOutput
- func (o LookupOrganizationResultOutput) Roots() GetOrganizationRootArrayOutput
- func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutput() LookupOrganizationResultOutput
- func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutputWithContext(ctx context.Context) LookupOrganizationResultOutput
- type LookupOrganizationalUnitArgs
- type LookupOrganizationalUnitOutputArgs
- type LookupOrganizationalUnitResult
- type LookupOrganizationalUnitResultOutput
- func (o LookupOrganizationalUnitResultOutput) Arn() pulumi.StringOutput
- func (LookupOrganizationalUnitResultOutput) ElementType() reflect.Type
- func (o LookupOrganizationalUnitResultOutput) Id() pulumi.StringOutput
- func (o LookupOrganizationalUnitResultOutput) Name() pulumi.StringOutput
- func (o LookupOrganizationalUnitResultOutput) ParentId() pulumi.StringOutput
- func (o LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutput() LookupOrganizationalUnitResultOutput
- func (o LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutputWithContext(ctx context.Context) LookupOrganizationalUnitResultOutput
- type LookupPolicyArgs
- type LookupPolicyOutputArgs
- type LookupPolicyResult
- type LookupPolicyResultOutput
- func (o LookupPolicyResultOutput) Arn() pulumi.StringOutput
- func (o LookupPolicyResultOutput) AwsManaged() pulumi.BoolOutput
- func (o LookupPolicyResultOutput) Content() pulumi.StringOutput
- func (o LookupPolicyResultOutput) Description() pulumi.StringOutput
- func (LookupPolicyResultOutput) ElementType() reflect.Type
- func (o LookupPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupPolicyResultOutput) PolicyId() pulumi.StringOutput
- func (o LookupPolicyResultOutput) ToLookupPolicyResultOutput() LookupPolicyResultOutput
- func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx context.Context) LookupPolicyResultOutput
- func (o LookupPolicyResultOutput) Type() pulumi.StringOutput
- type Organization
- type OrganizationAccount
- type OrganizationAccountArgs
- type OrganizationAccountArray
- type OrganizationAccountArrayInput
- type OrganizationAccountArrayOutput
- func (OrganizationAccountArrayOutput) ElementType() reflect.Type
- func (o OrganizationAccountArrayOutput) Index(i pulumi.IntInput) OrganizationAccountOutput
- func (o OrganizationAccountArrayOutput) ToOrganizationAccountArrayOutput() OrganizationAccountArrayOutput
- func (o OrganizationAccountArrayOutput) ToOrganizationAccountArrayOutputWithContext(ctx context.Context) OrganizationAccountArrayOutput
- type OrganizationAccountInput
- type OrganizationAccountOutput
- func (o OrganizationAccountOutput) Arn() pulumi.StringPtrOutput
- func (OrganizationAccountOutput) ElementType() reflect.Type
- func (o OrganizationAccountOutput) Email() pulumi.StringPtrOutput
- func (o OrganizationAccountOutput) Id() pulumi.StringPtrOutput
- func (o OrganizationAccountOutput) Name() pulumi.StringPtrOutput
- func (o OrganizationAccountOutput) Status() pulumi.StringPtrOutput
- func (o OrganizationAccountOutput) ToOrganizationAccountOutput() OrganizationAccountOutput
- func (o OrganizationAccountOutput) ToOrganizationAccountOutputWithContext(ctx context.Context) OrganizationAccountOutput
- type OrganizationArgs
- type OrganizationArray
- type OrganizationArrayInput
- type OrganizationArrayOutput
- func (OrganizationArrayOutput) ElementType() reflect.Type
- func (o OrganizationArrayOutput) Index(i pulumi.IntInput) OrganizationOutput
- func (o OrganizationArrayOutput) ToOrganizationArrayOutput() OrganizationArrayOutput
- func (o OrganizationArrayOutput) ToOrganizationArrayOutputWithContext(ctx context.Context) OrganizationArrayOutput
- type OrganizationInput
- type OrganizationMap
- type OrganizationMapInput
- type OrganizationMapOutput
- func (OrganizationMapOutput) ElementType() reflect.Type
- func (o OrganizationMapOutput) MapIndex(k pulumi.StringInput) OrganizationOutput
- func (o OrganizationMapOutput) ToOrganizationMapOutput() OrganizationMapOutput
- func (o OrganizationMapOutput) ToOrganizationMapOutputWithContext(ctx context.Context) OrganizationMapOutput
- type OrganizationNonMasterAccount
- type OrganizationNonMasterAccountArgs
- func (OrganizationNonMasterAccountArgs) ElementType() reflect.Type
- func (i OrganizationNonMasterAccountArgs) ToOrganizationNonMasterAccountOutput() OrganizationNonMasterAccountOutput
- func (i OrganizationNonMasterAccountArgs) ToOrganizationNonMasterAccountOutputWithContext(ctx context.Context) OrganizationNonMasterAccountOutput
- type OrganizationNonMasterAccountArray
- func (OrganizationNonMasterAccountArray) ElementType() reflect.Type
- func (i OrganizationNonMasterAccountArray) ToOrganizationNonMasterAccountArrayOutput() OrganizationNonMasterAccountArrayOutput
- func (i OrganizationNonMasterAccountArray) ToOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) OrganizationNonMasterAccountArrayOutput
- type OrganizationNonMasterAccountArrayInput
- type OrganizationNonMasterAccountArrayOutput
- func (OrganizationNonMasterAccountArrayOutput) ElementType() reflect.Type
- func (o OrganizationNonMasterAccountArrayOutput) Index(i pulumi.IntInput) OrganizationNonMasterAccountOutput
- func (o OrganizationNonMasterAccountArrayOutput) ToOrganizationNonMasterAccountArrayOutput() OrganizationNonMasterAccountArrayOutput
- func (o OrganizationNonMasterAccountArrayOutput) ToOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) OrganizationNonMasterAccountArrayOutput
- type OrganizationNonMasterAccountInput
- type OrganizationNonMasterAccountOutput
- func (o OrganizationNonMasterAccountOutput) Arn() pulumi.StringPtrOutput
- func (OrganizationNonMasterAccountOutput) ElementType() reflect.Type
- func (o OrganizationNonMasterAccountOutput) Email() pulumi.StringPtrOutput
- func (o OrganizationNonMasterAccountOutput) Id() pulumi.StringPtrOutput
- func (o OrganizationNonMasterAccountOutput) Name() pulumi.StringPtrOutput
- func (o OrganizationNonMasterAccountOutput) Status() pulumi.StringPtrOutput
- func (o OrganizationNonMasterAccountOutput) ToOrganizationNonMasterAccountOutput() OrganizationNonMasterAccountOutput
- func (o OrganizationNonMasterAccountOutput) ToOrganizationNonMasterAccountOutputWithContext(ctx context.Context) OrganizationNonMasterAccountOutput
- type OrganizationOutput
- func (o OrganizationOutput) Accounts() OrganizationAccountArrayOutput
- func (o OrganizationOutput) Arn() pulumi.StringOutput
- func (o OrganizationOutput) AwsServiceAccessPrincipals() pulumi.StringArrayOutput
- func (OrganizationOutput) ElementType() reflect.Type
- func (o OrganizationOutput) EnabledPolicyTypes() pulumi.StringArrayOutput
- func (o OrganizationOutput) FeatureSet() pulumi.StringPtrOutput
- func (o OrganizationOutput) MasterAccountArn() pulumi.StringOutput
- func (o OrganizationOutput) MasterAccountEmail() pulumi.StringOutput
- func (o OrganizationOutput) MasterAccountId() pulumi.StringOutput
- func (o OrganizationOutput) MasterAccountName() pulumi.StringOutput
- func (o OrganizationOutput) NonMasterAccounts() OrganizationNonMasterAccountArrayOutput
- func (o OrganizationOutput) Roots() OrganizationRootArrayOutput
- func (o OrganizationOutput) ToOrganizationOutput() OrganizationOutput
- func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
- type OrganizationRoot
- type OrganizationRootArgs
- type OrganizationRootArray
- type OrganizationRootArrayInput
- type OrganizationRootArrayOutput
- func (OrganizationRootArrayOutput) ElementType() reflect.Type
- func (o OrganizationRootArrayOutput) Index(i pulumi.IntInput) OrganizationRootOutput
- func (o OrganizationRootArrayOutput) ToOrganizationRootArrayOutput() OrganizationRootArrayOutput
- func (o OrganizationRootArrayOutput) ToOrganizationRootArrayOutputWithContext(ctx context.Context) OrganizationRootArrayOutput
- type OrganizationRootInput
- type OrganizationRootOutput
- func (o OrganizationRootOutput) Arn() pulumi.StringPtrOutput
- func (OrganizationRootOutput) ElementType() reflect.Type
- func (o OrganizationRootOutput) Id() pulumi.StringPtrOutput
- func (o OrganizationRootOutput) Name() pulumi.StringPtrOutput
- func (o OrganizationRootOutput) PolicyTypes() OrganizationRootPolicyTypeArrayOutput
- func (o OrganizationRootOutput) ToOrganizationRootOutput() OrganizationRootOutput
- func (o OrganizationRootOutput) ToOrganizationRootOutputWithContext(ctx context.Context) OrganizationRootOutput
- type OrganizationRootPolicyType
- type OrganizationRootPolicyTypeArgs
- func (OrganizationRootPolicyTypeArgs) ElementType() reflect.Type
- func (i OrganizationRootPolicyTypeArgs) ToOrganizationRootPolicyTypeOutput() OrganizationRootPolicyTypeOutput
- func (i OrganizationRootPolicyTypeArgs) ToOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeOutput
- type OrganizationRootPolicyTypeArray
- func (OrganizationRootPolicyTypeArray) ElementType() reflect.Type
- func (i OrganizationRootPolicyTypeArray) ToOrganizationRootPolicyTypeArrayOutput() OrganizationRootPolicyTypeArrayOutput
- func (i OrganizationRootPolicyTypeArray) ToOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeArrayOutput
- type OrganizationRootPolicyTypeArrayInput
- type OrganizationRootPolicyTypeArrayOutput
- func (OrganizationRootPolicyTypeArrayOutput) ElementType() reflect.Type
- func (o OrganizationRootPolicyTypeArrayOutput) Index(i pulumi.IntInput) OrganizationRootPolicyTypeOutput
- func (o OrganizationRootPolicyTypeArrayOutput) ToOrganizationRootPolicyTypeArrayOutput() OrganizationRootPolicyTypeArrayOutput
- func (o OrganizationRootPolicyTypeArrayOutput) ToOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeArrayOutput
- type OrganizationRootPolicyTypeInput
- type OrganizationRootPolicyTypeOutput
- func (OrganizationRootPolicyTypeOutput) ElementType() reflect.Type
- func (o OrganizationRootPolicyTypeOutput) Status() pulumi.StringPtrOutput
- func (o OrganizationRootPolicyTypeOutput) ToOrganizationRootPolicyTypeOutput() OrganizationRootPolicyTypeOutput
- func (o OrganizationRootPolicyTypeOutput) ToOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeOutput
- func (o OrganizationRootPolicyTypeOutput) Type() pulumi.StringPtrOutput
- type OrganizationState
- type OrganizationalUnit
- type OrganizationalUnitAccount
- type OrganizationalUnitAccountArgs
- func (OrganizationalUnitAccountArgs) ElementType() reflect.Type
- func (i OrganizationalUnitAccountArgs) ToOrganizationalUnitAccountOutput() OrganizationalUnitAccountOutput
- func (i OrganizationalUnitAccountArgs) ToOrganizationalUnitAccountOutputWithContext(ctx context.Context) OrganizationalUnitAccountOutput
- type OrganizationalUnitAccountArray
- func (OrganizationalUnitAccountArray) ElementType() reflect.Type
- func (i OrganizationalUnitAccountArray) ToOrganizationalUnitAccountArrayOutput() OrganizationalUnitAccountArrayOutput
- func (i OrganizationalUnitAccountArray) ToOrganizationalUnitAccountArrayOutputWithContext(ctx context.Context) OrganizationalUnitAccountArrayOutput
- type OrganizationalUnitAccountArrayInput
- type OrganizationalUnitAccountArrayOutput
- func (OrganizationalUnitAccountArrayOutput) ElementType() reflect.Type
- func (o OrganizationalUnitAccountArrayOutput) Index(i pulumi.IntInput) OrganizationalUnitAccountOutput
- func (o OrganizationalUnitAccountArrayOutput) ToOrganizationalUnitAccountArrayOutput() OrganizationalUnitAccountArrayOutput
- func (o OrganizationalUnitAccountArrayOutput) ToOrganizationalUnitAccountArrayOutputWithContext(ctx context.Context) OrganizationalUnitAccountArrayOutput
- type OrganizationalUnitAccountInput
- type OrganizationalUnitAccountOutput
- func (o OrganizationalUnitAccountOutput) Arn() pulumi.StringPtrOutput
- func (OrganizationalUnitAccountOutput) ElementType() reflect.Type
- func (o OrganizationalUnitAccountOutput) Email() pulumi.StringPtrOutput
- func (o OrganizationalUnitAccountOutput) Id() pulumi.StringPtrOutput
- func (o OrganizationalUnitAccountOutput) Name() pulumi.StringPtrOutput
- func (o OrganizationalUnitAccountOutput) ToOrganizationalUnitAccountOutput() OrganizationalUnitAccountOutput
- func (o OrganizationalUnitAccountOutput) ToOrganizationalUnitAccountOutputWithContext(ctx context.Context) OrganizationalUnitAccountOutput
- type OrganizationalUnitArgs
- type OrganizationalUnitArray
- type OrganizationalUnitArrayInput
- type OrganizationalUnitArrayOutput
- func (OrganizationalUnitArrayOutput) ElementType() reflect.Type
- func (o OrganizationalUnitArrayOutput) Index(i pulumi.IntInput) OrganizationalUnitOutput
- func (o OrganizationalUnitArrayOutput) ToOrganizationalUnitArrayOutput() OrganizationalUnitArrayOutput
- func (o OrganizationalUnitArrayOutput) ToOrganizationalUnitArrayOutputWithContext(ctx context.Context) OrganizationalUnitArrayOutput
- type OrganizationalUnitInput
- type OrganizationalUnitMap
- type OrganizationalUnitMapInput
- type OrganizationalUnitMapOutput
- func (OrganizationalUnitMapOutput) ElementType() reflect.Type
- func (o OrganizationalUnitMapOutput) MapIndex(k pulumi.StringInput) OrganizationalUnitOutput
- func (o OrganizationalUnitMapOutput) ToOrganizationalUnitMapOutput() OrganizationalUnitMapOutput
- func (o OrganizationalUnitMapOutput) ToOrganizationalUnitMapOutputWithContext(ctx context.Context) OrganizationalUnitMapOutput
- type OrganizationalUnitOutput
- func (o OrganizationalUnitOutput) Accounts() OrganizationalUnitAccountArrayOutput
- func (o OrganizationalUnitOutput) Arn() pulumi.StringOutput
- func (OrganizationalUnitOutput) ElementType() reflect.Type
- func (o OrganizationalUnitOutput) Name() pulumi.StringOutput
- func (o OrganizationalUnitOutput) ParentId() pulumi.StringOutput
- func (o OrganizationalUnitOutput) Tags() pulumi.StringMapOutput
- func (o OrganizationalUnitOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o OrganizationalUnitOutput) ToOrganizationalUnitOutput() OrganizationalUnitOutput
- func (o OrganizationalUnitOutput) ToOrganizationalUnitOutputWithContext(ctx context.Context) OrganizationalUnitOutput
- type OrganizationalUnitState
- type Policy
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyAttachment
- type PolicyAttachmentArgs
- type PolicyAttachmentArray
- type PolicyAttachmentArrayInput
- type PolicyAttachmentArrayOutput
- func (PolicyAttachmentArrayOutput) ElementType() reflect.Type
- func (o PolicyAttachmentArrayOutput) Index(i pulumi.IntInput) PolicyAttachmentOutput
- func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
- func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
- type PolicyAttachmentInput
- type PolicyAttachmentMap
- type PolicyAttachmentMapInput
- type PolicyAttachmentMapOutput
- func (PolicyAttachmentMapOutput) ElementType() reflect.Type
- func (o PolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) PolicyAttachmentOutput
- func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
- func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
- type PolicyAttachmentOutput
- func (PolicyAttachmentOutput) ElementType() reflect.Type
- func (o PolicyAttachmentOutput) PolicyId() pulumi.StringOutput
- func (o PolicyAttachmentOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o PolicyAttachmentOutput) TargetId() pulumi.StringOutput
- func (o PolicyAttachmentOutput) ToPolicyAttachmentOutput() PolicyAttachmentOutput
- func (o PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
- type PolicyAttachmentState
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- func (o PolicyOutput) Arn() pulumi.StringOutput
- func (o PolicyOutput) Content() pulumi.StringOutput
- func (o PolicyOutput) Description() pulumi.StringPtrOutput
- func (PolicyOutput) ElementType() reflect.Type
- func (o PolicyOutput) Name() pulumi.StringOutput
- func (o PolicyOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o PolicyOutput) Tags() pulumi.StringMapOutput
- func (o PolicyOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o PolicyOutput) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (o PolicyOutput) Type() pulumi.StringPtrOutput
- type PolicyState
- type ResourcePolicy
- type ResourcePolicyArgs
- type ResourcePolicyArray
- type ResourcePolicyArrayInput
- type ResourcePolicyArrayOutput
- func (ResourcePolicyArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyArrayOutput) Index(i pulumi.IntInput) ResourcePolicyOutput
- func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
- func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput
- type ResourcePolicyInput
- type ResourcePolicyMap
- type ResourcePolicyMapInput
- type ResourcePolicyMapOutput
- func (ResourcePolicyMapOutput) ElementType() reflect.Type
- func (o ResourcePolicyMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyOutput
- func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput
- func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput
- type ResourcePolicyOutput
- func (o ResourcePolicyOutput) Arn() pulumi.StringOutput
- func (o ResourcePolicyOutput) Content() pulumi.StringOutput
- func (ResourcePolicyOutput) ElementType() reflect.Type
- func (o ResourcePolicyOutput) Tags() pulumi.StringMapOutput
- func (o ResourcePolicyOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput
- func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
- type ResourcePolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { pulumi.CustomResourceState // The ARN for this account. Arn pulumi.StringOutput `pulumi:"arn"` // 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 pulumi.BoolPtrOutput `pulumi:"closeOnDeletion"` // 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 `govcloudId` attribute. The only way to manage the GovCloud account with the provider is to subsequently import the account using this resource. CreateGovcloud pulumi.BoolPtrOutput `pulumi:"createGovcloud"` // 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 pulumi.StringOutput `pulumi:"email"` // ID for a GovCloud account created with the account. GovcloudId pulumi.StringOutput `pulumi:"govcloudId"` // 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 pulumi.StringPtrOutput `pulumi:"iamUserAccessToBilling"` JoinedMethod pulumi.StringOutput `pulumi:"joinedMethod"` JoinedTimestamp pulumi.StringOutput `pulumi:"joinedTimestamp"` // Friendly name for the member account. // // The following arguments are optional: Name pulumi.StringOutput `pulumi:"name"` // 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 pulumi.StringOutput `pulumi:"parentId"` // The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the root account, allowing users in the root account to assume the role, as permitted by the root account administrator. The role has administrator permissions in the new member account. The Organizations API provides no method for reading this information after account creation, so the provider cannot perform drift detection on its value and will always show a difference for a configured value after import unless `ignoreChanges` is used. RoleName pulumi.StringPtrOutput `pulumi:"roleName"` // The status of the account in the organization. Status pulumi.StringOutput `pulumi:"status"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to create a member account in the current organization.
> **Note:** Account management must be done from the organization's root account.
> **Note:** By default, deleting this resource will only remove an AWS account from an organization. You must set the `closeOnDeletion` flag to true to close the account. It is worth noting that quotas are enforced when using the `closeOnDeletion` argument, which can produce a [CLOSE_ACCOUNT_QUOTA_EXCEEDED](https://docs.aws.amazon.com/organizations/latest/APIReference/API_CloseAccount.html) error, and require you to close the account manually.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewAccount(ctx, "account", &organizations.AccountArgs{ Name: pulumi.String("my_new_account"), Email: pulumi.String("john@doe.org"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import the AWS member account using the `account_id`. For example:
```sh $ pulumi import aws:organizations/account:Account my_account 111111111111 ``` To import accounts that have set iam_user_access_to_billing, use the following:
```sh $ pulumi import aws:organizations/account:Account my_account 111111111111_ALLOW ``` Certain resource arguments, like `role_name`, do not have an Organizations API method for reading the information after account creation. If the argument is set in the Pulumi program on an imported resource, Pulumi will always show a difference. To workaround this behavior, either omit the argument from the Pulumi program or use `ignore_changes` to hide the difference. For example:
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) ElementType ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountArgs ¶
type AccountArgs 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. CloseOnDeletion pulumi.BoolPtrInput // 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 `govcloudId` attribute. The only way to manage the GovCloud account with the provider is to subsequently import the account using this resource. CreateGovcloud pulumi.BoolPtrInput // 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 pulumi.StringInput // 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 pulumi.StringPtrInput // Friendly name for the member account. // // The following arguments are optional: Name pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the root account, allowing users in the root account to assume the role, as permitted by the root account administrator. The role has administrator permissions in the new member account. The Organizations API provides no method for reading this information after account creation, so the provider cannot perform drift detection on its value and will always show a difference for a configured value after import unless `ignoreChanges` is used. RoleName pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct{ *pulumi.OutputState }
func (AccountOutput) Arn ¶
func (o AccountOutput) Arn() pulumi.StringOutput
The ARN for this account.
func (AccountOutput) CloseOnDeletion ¶
func (o AccountOutput) CloseOnDeletion() pulumi.BoolPtrOutput
If true, a deletion event will close the account. Otherwise, it will only remove from the organization. This is not supported for GovCloud accounts.
func (AccountOutput) CreateGovcloud ¶
func (o AccountOutput) CreateGovcloud() pulumi.BoolPtrOutput
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 `govcloudId` attribute. The only way to manage the GovCloud account with the provider is to subsequently import the account using this resource.
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) Email ¶
func (o AccountOutput) Email() pulumi.StringOutput
Email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account.
func (AccountOutput) GovcloudId ¶
func (o AccountOutput) GovcloudId() pulumi.StringOutput
ID for a GovCloud account created with the account.
func (AccountOutput) IamUserAccessToBilling ¶
func (o AccountOutput) IamUserAccessToBilling() pulumi.StringPtrOutput
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.
func (AccountOutput) JoinedMethod ¶
func (o AccountOutput) JoinedMethod() pulumi.StringOutput
func (AccountOutput) JoinedTimestamp ¶
func (o AccountOutput) JoinedTimestamp() pulumi.StringOutput
func (AccountOutput) Name ¶
func (o AccountOutput) Name() pulumi.StringOutput
Friendly name for the member account.
The following arguments are optional:
func (AccountOutput) ParentId ¶
func (o AccountOutput) ParentId() pulumi.StringOutput
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.
func (AccountOutput) RoleName ¶
func (o AccountOutput) RoleName() pulumi.StringPtrOutput
The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the root account, allowing users in the root account to assume the role, as permitted by the root account administrator. The role has administrator permissions in the new member account. The Organizations API provides no method for reading this information after account creation, so the provider cannot perform drift detection on its value and will always show a difference for a configured value after import unless `ignoreChanges` is used.
func (AccountOutput) Status ¶
func (o AccountOutput) Status() pulumi.StringOutput
The status of the account in the organization.
func (AccountOutput) Tags ¶
func (o AccountOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (AccountOutput) TagsAll
deprecated
func (o AccountOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountState ¶
type AccountState struct { // The ARN for this account. Arn pulumi.StringPtrInput // 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 pulumi.BoolPtrInput // 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 `govcloudId` attribute. The only way to manage the GovCloud account with the provider is to subsequently import the account using this resource. CreateGovcloud pulumi.BoolPtrInput // 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 pulumi.StringPtrInput // ID for a GovCloud account created with the account. GovcloudId pulumi.StringPtrInput // 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 pulumi.StringPtrInput JoinedMethod pulumi.StringPtrInput JoinedTimestamp pulumi.StringPtrInput // Friendly name for the member account. // // The following arguments are optional: Name pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the root account, allowing users in the root account to assume the role, as permitted by the root account administrator. The role has administrator permissions in the new member account. The Organizations API provides no method for reading this information after account creation, so the provider cannot perform drift detection on its value and will always show a difference for a configured value after import unless `ignoreChanges` is used. RoleName pulumi.StringPtrInput // The status of the account in the organization. Status pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type DelegatedAdministrator ¶
type DelegatedAdministrator struct { pulumi.CustomResourceState // The account ID number of the member account in the organization to register as a delegated administrator. AccountId pulumi.StringOutput `pulumi:"accountId"` // The Amazon Resource Name (ARN) of the delegated administrator's account. Arn pulumi.StringOutput `pulumi:"arn"` // The date when the account was made a delegated administrator. DelegationEnabledDate pulumi.StringOutput `pulumi:"delegationEnabledDate"` // The email address that is associated with the delegated administrator's AWS account. Email pulumi.StringOutput `pulumi:"email"` // The method by which the delegated administrator's account joined the organization. JoinedMethod pulumi.StringOutput `pulumi:"joinedMethod"` // The date when the delegated administrator's account became a part of the organization. JoinedTimestamp pulumi.StringOutput `pulumi:"joinedTimestamp"` // The friendly name of the delegated administrator's account. Name pulumi.StringOutput `pulumi:"name"` // The service principal of the AWS service for which you want to make the member account a delegated administrator. ServicePrincipal pulumi.StringOutput `pulumi:"servicePrincipal"` // The status of the delegated administrator's account in the organization. Status pulumi.StringOutput `pulumi:"status"` }
Provides a resource to manage an [AWS Organizations Delegated Administrator](https://docs.aws.amazon.com/organizations/latest/APIReference/API_RegisterDelegatedAdministrator.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewDelegatedAdministrator(ctx, "example", &organizations.DelegatedAdministratorArgs{ AccountId: pulumi.String("123456789012"), ServicePrincipal: pulumi.String("principal"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import `aws_organizations_delegated_administrator` using the account ID and its service principal. For example:
```sh $ pulumi import aws:organizations/delegatedAdministrator:DelegatedAdministrator example 123456789012/config.amazonaws.com ```
func GetDelegatedAdministrator ¶
func GetDelegatedAdministrator(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DelegatedAdministratorState, opts ...pulumi.ResourceOption) (*DelegatedAdministrator, error)
GetDelegatedAdministrator gets an existing DelegatedAdministrator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDelegatedAdministrator ¶
func NewDelegatedAdministrator(ctx *pulumi.Context, name string, args *DelegatedAdministratorArgs, opts ...pulumi.ResourceOption) (*DelegatedAdministrator, error)
NewDelegatedAdministrator registers a new resource with the given unique name, arguments, and options.
func (*DelegatedAdministrator) ElementType ¶
func (*DelegatedAdministrator) ElementType() reflect.Type
func (*DelegatedAdministrator) ToDelegatedAdministratorOutput ¶
func (i *DelegatedAdministrator) ToDelegatedAdministratorOutput() DelegatedAdministratorOutput
func (*DelegatedAdministrator) ToDelegatedAdministratorOutputWithContext ¶
func (i *DelegatedAdministrator) ToDelegatedAdministratorOutputWithContext(ctx context.Context) DelegatedAdministratorOutput
type DelegatedAdministratorArgs ¶
type DelegatedAdministratorArgs struct { // The account ID number of the member account in the organization to register as a delegated administrator. AccountId pulumi.StringInput // The service principal of the AWS service for which you want to make the member account a delegated administrator. ServicePrincipal pulumi.StringInput }
The set of arguments for constructing a DelegatedAdministrator resource.
func (DelegatedAdministratorArgs) ElementType ¶
func (DelegatedAdministratorArgs) ElementType() reflect.Type
type DelegatedAdministratorArray ¶
type DelegatedAdministratorArray []DelegatedAdministratorInput
func (DelegatedAdministratorArray) ElementType ¶
func (DelegatedAdministratorArray) ElementType() reflect.Type
func (DelegatedAdministratorArray) ToDelegatedAdministratorArrayOutput ¶
func (i DelegatedAdministratorArray) ToDelegatedAdministratorArrayOutput() DelegatedAdministratorArrayOutput
func (DelegatedAdministratorArray) ToDelegatedAdministratorArrayOutputWithContext ¶
func (i DelegatedAdministratorArray) ToDelegatedAdministratorArrayOutputWithContext(ctx context.Context) DelegatedAdministratorArrayOutput
type DelegatedAdministratorArrayInput ¶
type DelegatedAdministratorArrayInput interface { pulumi.Input ToDelegatedAdministratorArrayOutput() DelegatedAdministratorArrayOutput ToDelegatedAdministratorArrayOutputWithContext(context.Context) DelegatedAdministratorArrayOutput }
DelegatedAdministratorArrayInput is an input type that accepts DelegatedAdministratorArray and DelegatedAdministratorArrayOutput values. You can construct a concrete instance of `DelegatedAdministratorArrayInput` via:
DelegatedAdministratorArray{ DelegatedAdministratorArgs{...} }
type DelegatedAdministratorArrayOutput ¶
type DelegatedAdministratorArrayOutput struct{ *pulumi.OutputState }
func (DelegatedAdministratorArrayOutput) ElementType ¶
func (DelegatedAdministratorArrayOutput) ElementType() reflect.Type
func (DelegatedAdministratorArrayOutput) Index ¶
func (o DelegatedAdministratorArrayOutput) Index(i pulumi.IntInput) DelegatedAdministratorOutput
func (DelegatedAdministratorArrayOutput) ToDelegatedAdministratorArrayOutput ¶
func (o DelegatedAdministratorArrayOutput) ToDelegatedAdministratorArrayOutput() DelegatedAdministratorArrayOutput
func (DelegatedAdministratorArrayOutput) ToDelegatedAdministratorArrayOutputWithContext ¶
func (o DelegatedAdministratorArrayOutput) ToDelegatedAdministratorArrayOutputWithContext(ctx context.Context) DelegatedAdministratorArrayOutput
type DelegatedAdministratorInput ¶
type DelegatedAdministratorInput interface { pulumi.Input ToDelegatedAdministratorOutput() DelegatedAdministratorOutput ToDelegatedAdministratorOutputWithContext(ctx context.Context) DelegatedAdministratorOutput }
type DelegatedAdministratorMap ¶
type DelegatedAdministratorMap map[string]DelegatedAdministratorInput
func (DelegatedAdministratorMap) ElementType ¶
func (DelegatedAdministratorMap) ElementType() reflect.Type
func (DelegatedAdministratorMap) ToDelegatedAdministratorMapOutput ¶
func (i DelegatedAdministratorMap) ToDelegatedAdministratorMapOutput() DelegatedAdministratorMapOutput
func (DelegatedAdministratorMap) ToDelegatedAdministratorMapOutputWithContext ¶
func (i DelegatedAdministratorMap) ToDelegatedAdministratorMapOutputWithContext(ctx context.Context) DelegatedAdministratorMapOutput
type DelegatedAdministratorMapInput ¶
type DelegatedAdministratorMapInput interface { pulumi.Input ToDelegatedAdministratorMapOutput() DelegatedAdministratorMapOutput ToDelegatedAdministratorMapOutputWithContext(context.Context) DelegatedAdministratorMapOutput }
DelegatedAdministratorMapInput is an input type that accepts DelegatedAdministratorMap and DelegatedAdministratorMapOutput values. You can construct a concrete instance of `DelegatedAdministratorMapInput` via:
DelegatedAdministratorMap{ "key": DelegatedAdministratorArgs{...} }
type DelegatedAdministratorMapOutput ¶
type DelegatedAdministratorMapOutput struct{ *pulumi.OutputState }
func (DelegatedAdministratorMapOutput) ElementType ¶
func (DelegatedAdministratorMapOutput) ElementType() reflect.Type
func (DelegatedAdministratorMapOutput) MapIndex ¶
func (o DelegatedAdministratorMapOutput) MapIndex(k pulumi.StringInput) DelegatedAdministratorOutput
func (DelegatedAdministratorMapOutput) ToDelegatedAdministratorMapOutput ¶
func (o DelegatedAdministratorMapOutput) ToDelegatedAdministratorMapOutput() DelegatedAdministratorMapOutput
func (DelegatedAdministratorMapOutput) ToDelegatedAdministratorMapOutputWithContext ¶
func (o DelegatedAdministratorMapOutput) ToDelegatedAdministratorMapOutputWithContext(ctx context.Context) DelegatedAdministratorMapOutput
type DelegatedAdministratorOutput ¶
type DelegatedAdministratorOutput struct{ *pulumi.OutputState }
func (DelegatedAdministratorOutput) AccountId ¶
func (o DelegatedAdministratorOutput) AccountId() pulumi.StringOutput
The account ID number of the member account in the organization to register as a delegated administrator.
func (DelegatedAdministratorOutput) Arn ¶
func (o DelegatedAdministratorOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the delegated administrator's account.
func (DelegatedAdministratorOutput) DelegationEnabledDate ¶
func (o DelegatedAdministratorOutput) DelegationEnabledDate() pulumi.StringOutput
The date when the account was made a delegated administrator.
func (DelegatedAdministratorOutput) ElementType ¶
func (DelegatedAdministratorOutput) ElementType() reflect.Type
func (DelegatedAdministratorOutput) Email ¶
func (o DelegatedAdministratorOutput) Email() pulumi.StringOutput
The email address that is associated with the delegated administrator's AWS account.
func (DelegatedAdministratorOutput) JoinedMethod ¶
func (o DelegatedAdministratorOutput) JoinedMethod() pulumi.StringOutput
The method by which the delegated administrator's account joined the organization.
func (DelegatedAdministratorOutput) JoinedTimestamp ¶
func (o DelegatedAdministratorOutput) JoinedTimestamp() pulumi.StringOutput
The date when the delegated administrator's account became a part of the organization.
func (DelegatedAdministratorOutput) Name ¶
func (o DelegatedAdministratorOutput) Name() pulumi.StringOutput
The friendly name of the delegated administrator's account.
func (DelegatedAdministratorOutput) ServicePrincipal ¶
func (o DelegatedAdministratorOutput) ServicePrincipal() pulumi.StringOutput
The service principal of the AWS service for which you want to make the member account a delegated administrator.
func (DelegatedAdministratorOutput) Status ¶
func (o DelegatedAdministratorOutput) Status() pulumi.StringOutput
The status of the delegated administrator's account in the organization.
func (DelegatedAdministratorOutput) ToDelegatedAdministratorOutput ¶
func (o DelegatedAdministratorOutput) ToDelegatedAdministratorOutput() DelegatedAdministratorOutput
func (DelegatedAdministratorOutput) ToDelegatedAdministratorOutputWithContext ¶
func (o DelegatedAdministratorOutput) ToDelegatedAdministratorOutputWithContext(ctx context.Context) DelegatedAdministratorOutput
type DelegatedAdministratorState ¶
type DelegatedAdministratorState struct { // The account ID number of the member account in the organization to register as a delegated administrator. AccountId pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the delegated administrator's account. Arn pulumi.StringPtrInput // The date when the account was made a delegated administrator. DelegationEnabledDate pulumi.StringPtrInput // The email address that is associated with the delegated administrator's AWS account. Email pulumi.StringPtrInput // The method by which the delegated administrator's account joined the organization. JoinedMethod pulumi.StringPtrInput // The date when the delegated administrator's account became a part of the organization. JoinedTimestamp pulumi.StringPtrInput // The friendly name of the delegated administrator's account. Name pulumi.StringPtrInput // The service principal of the AWS service for which you want to make the member account a delegated administrator. ServicePrincipal pulumi.StringPtrInput // The status of the delegated administrator's account in the organization. Status pulumi.StringPtrInput }
func (DelegatedAdministratorState) ElementType ¶
func (DelegatedAdministratorState) ElementType() reflect.Type
type GetDelegatedAdministratorsArgs ¶
type GetDelegatedAdministratorsArgs struct { // Specifies a service principal name. If specified, then the operation lists the delegated administrators only for the specified service. If you don't specify a service principal, the operation lists all delegated administrators for all services in your organization. ServicePrincipal *string `pulumi:"servicePrincipal"` }
A collection of arguments for invoking getDelegatedAdministrators.
type GetDelegatedAdministratorsDelegatedAdministrator ¶
type GetDelegatedAdministratorsDelegatedAdministrator struct { // The ARN of the delegated administrator's account. Arn string `pulumi:"arn"` // The date when the account was made a delegated administrator. DelegationEnabledDate string `pulumi:"delegationEnabledDate"` // The email address that is associated with the delegated administrator's AWS account. Email string `pulumi:"email"` // The unique identifier (ID) of the delegated administrator's account. Id string `pulumi:"id"` // The method by which the delegated administrator's account joined the organization. JoinedMethod string `pulumi:"joinedMethod"` // The date when the delegated administrator's account became a part of the organization. JoinedTimestamp string `pulumi:"joinedTimestamp"` // The friendly name of the delegated administrator's account. Name string `pulumi:"name"` // The status of the delegated administrator's account in the organization. Status string `pulumi:"status"` }
type GetDelegatedAdministratorsDelegatedAdministratorArgs ¶
type GetDelegatedAdministratorsDelegatedAdministratorArgs struct { // The ARN of the delegated administrator's account. Arn pulumi.StringInput `pulumi:"arn"` // The date when the account was made a delegated administrator. DelegationEnabledDate pulumi.StringInput `pulumi:"delegationEnabledDate"` // The email address that is associated with the delegated administrator's AWS account. Email pulumi.StringInput `pulumi:"email"` // The unique identifier (ID) of the delegated administrator's account. Id pulumi.StringInput `pulumi:"id"` // The method by which the delegated administrator's account joined the organization. JoinedMethod pulumi.StringInput `pulumi:"joinedMethod"` // The date when the delegated administrator's account became a part of the organization. JoinedTimestamp pulumi.StringInput `pulumi:"joinedTimestamp"` // The friendly name of the delegated administrator's account. Name pulumi.StringInput `pulumi:"name"` // The status of the delegated administrator's account in the organization. Status pulumi.StringInput `pulumi:"status"` }
func (GetDelegatedAdministratorsDelegatedAdministratorArgs) ElementType ¶
func (GetDelegatedAdministratorsDelegatedAdministratorArgs) ElementType() reflect.Type
func (GetDelegatedAdministratorsDelegatedAdministratorArgs) ToGetDelegatedAdministratorsDelegatedAdministratorOutput ¶
func (i GetDelegatedAdministratorsDelegatedAdministratorArgs) ToGetDelegatedAdministratorsDelegatedAdministratorOutput() GetDelegatedAdministratorsDelegatedAdministratorOutput
func (GetDelegatedAdministratorsDelegatedAdministratorArgs) ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext ¶
func (i GetDelegatedAdministratorsDelegatedAdministratorArgs) ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorOutput
type GetDelegatedAdministratorsDelegatedAdministratorArray ¶
type GetDelegatedAdministratorsDelegatedAdministratorArray []GetDelegatedAdministratorsDelegatedAdministratorInput
func (GetDelegatedAdministratorsDelegatedAdministratorArray) ElementType ¶
func (GetDelegatedAdministratorsDelegatedAdministratorArray) ElementType() reflect.Type
func (GetDelegatedAdministratorsDelegatedAdministratorArray) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput ¶
func (i GetDelegatedAdministratorsDelegatedAdministratorArray) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
func (GetDelegatedAdministratorsDelegatedAdministratorArray) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext ¶
func (i GetDelegatedAdministratorsDelegatedAdministratorArray) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
type GetDelegatedAdministratorsDelegatedAdministratorArrayInput ¶
type GetDelegatedAdministratorsDelegatedAdministratorArrayInput interface { pulumi.Input ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext(context.Context) GetDelegatedAdministratorsDelegatedAdministratorArrayOutput }
GetDelegatedAdministratorsDelegatedAdministratorArrayInput is an input type that accepts GetDelegatedAdministratorsDelegatedAdministratorArray and GetDelegatedAdministratorsDelegatedAdministratorArrayOutput values. You can construct a concrete instance of `GetDelegatedAdministratorsDelegatedAdministratorArrayInput` via:
GetDelegatedAdministratorsDelegatedAdministratorArray{ GetDelegatedAdministratorsDelegatedAdministratorArgs{...} }
type GetDelegatedAdministratorsDelegatedAdministratorArrayOutput ¶
type GetDelegatedAdministratorsDelegatedAdministratorArrayOutput struct{ *pulumi.OutputState }
func (GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ElementType ¶
func (GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ElementType() reflect.Type
func (GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutput() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
func (GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorArrayOutput) ToGetDelegatedAdministratorsDelegatedAdministratorArrayOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
type GetDelegatedAdministratorsDelegatedAdministratorInput ¶
type GetDelegatedAdministratorsDelegatedAdministratorInput interface { pulumi.Input ToGetDelegatedAdministratorsDelegatedAdministratorOutput() GetDelegatedAdministratorsDelegatedAdministratorOutput ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext(context.Context) GetDelegatedAdministratorsDelegatedAdministratorOutput }
GetDelegatedAdministratorsDelegatedAdministratorInput is an input type that accepts GetDelegatedAdministratorsDelegatedAdministratorArgs and GetDelegatedAdministratorsDelegatedAdministratorOutput values. You can construct a concrete instance of `GetDelegatedAdministratorsDelegatedAdministratorInput` via:
GetDelegatedAdministratorsDelegatedAdministratorArgs{...}
type GetDelegatedAdministratorsDelegatedAdministratorOutput ¶
type GetDelegatedAdministratorsDelegatedAdministratorOutput struct{ *pulumi.OutputState }
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) Arn ¶
The ARN of the delegated administrator's account.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) DelegationEnabledDate ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) DelegationEnabledDate() pulumi.StringOutput
The date when the account was made a delegated administrator.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) ElementType ¶
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) ElementType() reflect.Type
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) Email ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Email() pulumi.StringOutput
The email address that is associated with the delegated administrator's AWS account.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) Id ¶
The unique identifier (ID) of the delegated administrator's account.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) JoinedMethod ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) JoinedMethod() pulumi.StringOutput
The method by which the delegated administrator's account joined the organization.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) JoinedTimestamp ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) JoinedTimestamp() pulumi.StringOutput
The date when the delegated administrator's account became a part of the organization.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) Name ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Name() pulumi.StringOutput
The friendly name of the delegated administrator's account.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) Status ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) Status() pulumi.StringOutput
The status of the delegated administrator's account in the organization.
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) ToGetDelegatedAdministratorsDelegatedAdministratorOutput ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) ToGetDelegatedAdministratorsDelegatedAdministratorOutput() GetDelegatedAdministratorsDelegatedAdministratorOutput
func (GetDelegatedAdministratorsDelegatedAdministratorOutput) ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext ¶
func (o GetDelegatedAdministratorsDelegatedAdministratorOutput) ToGetDelegatedAdministratorsDelegatedAdministratorOutputWithContext(ctx context.Context) GetDelegatedAdministratorsDelegatedAdministratorOutput
type GetDelegatedAdministratorsOutputArgs ¶
type GetDelegatedAdministratorsOutputArgs struct { // Specifies a service principal name. If specified, then the operation lists the delegated administrators only for the specified service. If you don't specify a service principal, the operation lists all delegated administrators for all services in your organization. ServicePrincipal pulumi.StringPtrInput `pulumi:"servicePrincipal"` }
A collection of arguments for invoking getDelegatedAdministrators.
func (GetDelegatedAdministratorsOutputArgs) ElementType ¶
func (GetDelegatedAdministratorsOutputArgs) ElementType() reflect.Type
type GetDelegatedAdministratorsResult ¶
type GetDelegatedAdministratorsResult struct { // The list of delegated administrators in your organization, which have the following attributes: DelegatedAdministrators []GetDelegatedAdministratorsDelegatedAdministrator `pulumi:"delegatedAdministrators"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ServicePrincipal *string `pulumi:"servicePrincipal"` }
A collection of values returned by getDelegatedAdministrators.
func GetDelegatedAdministrators ¶
func GetDelegatedAdministrators(ctx *pulumi.Context, args *GetDelegatedAdministratorsArgs, opts ...pulumi.InvokeOption) (*GetDelegatedAdministratorsResult, error)
Get a list of AWS accounts that are designated as delegated administrators in this organization
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.GetDelegatedAdministrators(ctx, &organizations.GetDelegatedAdministratorsArgs{ ServicePrincipal: pulumi.StringRef("SERVICE PRINCIPAL"), }, nil) if err != nil { return err } return nil }) }
```
type GetDelegatedAdministratorsResultOutput ¶
type GetDelegatedAdministratorsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDelegatedAdministrators.
func GetDelegatedAdministratorsOutput ¶
func GetDelegatedAdministratorsOutput(ctx *pulumi.Context, args GetDelegatedAdministratorsOutputArgs, opts ...pulumi.InvokeOption) GetDelegatedAdministratorsResultOutput
func (GetDelegatedAdministratorsResultOutput) DelegatedAdministrators ¶
func (o GetDelegatedAdministratorsResultOutput) DelegatedAdministrators() GetDelegatedAdministratorsDelegatedAdministratorArrayOutput
The list of delegated administrators in your organization, which have the following attributes:
func (GetDelegatedAdministratorsResultOutput) ElementType ¶
func (GetDelegatedAdministratorsResultOutput) ElementType() reflect.Type
func (GetDelegatedAdministratorsResultOutput) Id ¶
func (o GetDelegatedAdministratorsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDelegatedAdministratorsResultOutput) ServicePrincipal ¶
func (o GetDelegatedAdministratorsResultOutput) ServicePrincipal() pulumi.StringPtrOutput
func (GetDelegatedAdministratorsResultOutput) ToGetDelegatedAdministratorsResultOutput ¶
func (o GetDelegatedAdministratorsResultOutput) ToGetDelegatedAdministratorsResultOutput() GetDelegatedAdministratorsResultOutput
func (GetDelegatedAdministratorsResultOutput) ToGetDelegatedAdministratorsResultOutputWithContext ¶
func (o GetDelegatedAdministratorsResultOutput) ToGetDelegatedAdministratorsResultOutputWithContext(ctx context.Context) GetDelegatedAdministratorsResultOutput
type GetDelegatedServicesArgs ¶
type GetDelegatedServicesArgs struct { // Account ID number of a delegated administrator account in the organization. AccountId string `pulumi:"accountId"` }
A collection of arguments for invoking getDelegatedServices.
type GetDelegatedServicesDelegatedService ¶
type GetDelegatedServicesDelegatedService struct { // The date that the account became a delegated administrator for this service. DelegationEnabledDate string `pulumi:"delegationEnabledDate"` // The name of an AWS service that can request an operation for the specified service. ServicePrincipal string `pulumi:"servicePrincipal"` }
type GetDelegatedServicesDelegatedServiceArgs ¶
type GetDelegatedServicesDelegatedServiceArgs struct { // The date that the account became a delegated administrator for this service. DelegationEnabledDate pulumi.StringInput `pulumi:"delegationEnabledDate"` // The name of an AWS service that can request an operation for the specified service. ServicePrincipal pulumi.StringInput `pulumi:"servicePrincipal"` }
func (GetDelegatedServicesDelegatedServiceArgs) ElementType ¶
func (GetDelegatedServicesDelegatedServiceArgs) ElementType() reflect.Type
func (GetDelegatedServicesDelegatedServiceArgs) ToGetDelegatedServicesDelegatedServiceOutput ¶
func (i GetDelegatedServicesDelegatedServiceArgs) ToGetDelegatedServicesDelegatedServiceOutput() GetDelegatedServicesDelegatedServiceOutput
func (GetDelegatedServicesDelegatedServiceArgs) ToGetDelegatedServicesDelegatedServiceOutputWithContext ¶
func (i GetDelegatedServicesDelegatedServiceArgs) ToGetDelegatedServicesDelegatedServiceOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceOutput
type GetDelegatedServicesDelegatedServiceArray ¶
type GetDelegatedServicesDelegatedServiceArray []GetDelegatedServicesDelegatedServiceInput
func (GetDelegatedServicesDelegatedServiceArray) ElementType ¶
func (GetDelegatedServicesDelegatedServiceArray) ElementType() reflect.Type
func (GetDelegatedServicesDelegatedServiceArray) ToGetDelegatedServicesDelegatedServiceArrayOutput ¶
func (i GetDelegatedServicesDelegatedServiceArray) ToGetDelegatedServicesDelegatedServiceArrayOutput() GetDelegatedServicesDelegatedServiceArrayOutput
func (GetDelegatedServicesDelegatedServiceArray) ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext ¶
func (i GetDelegatedServicesDelegatedServiceArray) ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceArrayOutput
type GetDelegatedServicesDelegatedServiceArrayInput ¶
type GetDelegatedServicesDelegatedServiceArrayInput interface { pulumi.Input ToGetDelegatedServicesDelegatedServiceArrayOutput() GetDelegatedServicesDelegatedServiceArrayOutput ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext(context.Context) GetDelegatedServicesDelegatedServiceArrayOutput }
GetDelegatedServicesDelegatedServiceArrayInput is an input type that accepts GetDelegatedServicesDelegatedServiceArray and GetDelegatedServicesDelegatedServiceArrayOutput values. You can construct a concrete instance of `GetDelegatedServicesDelegatedServiceArrayInput` via:
GetDelegatedServicesDelegatedServiceArray{ GetDelegatedServicesDelegatedServiceArgs{...} }
type GetDelegatedServicesDelegatedServiceArrayOutput ¶
type GetDelegatedServicesDelegatedServiceArrayOutput struct{ *pulumi.OutputState }
func (GetDelegatedServicesDelegatedServiceArrayOutput) ElementType ¶
func (GetDelegatedServicesDelegatedServiceArrayOutput) ElementType() reflect.Type
func (GetDelegatedServicesDelegatedServiceArrayOutput) ToGetDelegatedServicesDelegatedServiceArrayOutput ¶
func (o GetDelegatedServicesDelegatedServiceArrayOutput) ToGetDelegatedServicesDelegatedServiceArrayOutput() GetDelegatedServicesDelegatedServiceArrayOutput
func (GetDelegatedServicesDelegatedServiceArrayOutput) ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext ¶
func (o GetDelegatedServicesDelegatedServiceArrayOutput) ToGetDelegatedServicesDelegatedServiceArrayOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceArrayOutput
type GetDelegatedServicesDelegatedServiceInput ¶
type GetDelegatedServicesDelegatedServiceInput interface { pulumi.Input ToGetDelegatedServicesDelegatedServiceOutput() GetDelegatedServicesDelegatedServiceOutput ToGetDelegatedServicesDelegatedServiceOutputWithContext(context.Context) GetDelegatedServicesDelegatedServiceOutput }
GetDelegatedServicesDelegatedServiceInput is an input type that accepts GetDelegatedServicesDelegatedServiceArgs and GetDelegatedServicesDelegatedServiceOutput values. You can construct a concrete instance of `GetDelegatedServicesDelegatedServiceInput` via:
GetDelegatedServicesDelegatedServiceArgs{...}
type GetDelegatedServicesDelegatedServiceOutput ¶
type GetDelegatedServicesDelegatedServiceOutput struct{ *pulumi.OutputState }
func (GetDelegatedServicesDelegatedServiceOutput) DelegationEnabledDate ¶
func (o GetDelegatedServicesDelegatedServiceOutput) DelegationEnabledDate() pulumi.StringOutput
The date that the account became a delegated administrator for this service.
func (GetDelegatedServicesDelegatedServiceOutput) ElementType ¶
func (GetDelegatedServicesDelegatedServiceOutput) ElementType() reflect.Type
func (GetDelegatedServicesDelegatedServiceOutput) ServicePrincipal ¶
func (o GetDelegatedServicesDelegatedServiceOutput) ServicePrincipal() pulumi.StringOutput
The name of an AWS service that can request an operation for the specified service.
func (GetDelegatedServicesDelegatedServiceOutput) ToGetDelegatedServicesDelegatedServiceOutput ¶
func (o GetDelegatedServicesDelegatedServiceOutput) ToGetDelegatedServicesDelegatedServiceOutput() GetDelegatedServicesDelegatedServiceOutput
func (GetDelegatedServicesDelegatedServiceOutput) ToGetDelegatedServicesDelegatedServiceOutputWithContext ¶
func (o GetDelegatedServicesDelegatedServiceOutput) ToGetDelegatedServicesDelegatedServiceOutputWithContext(ctx context.Context) GetDelegatedServicesDelegatedServiceOutput
type GetDelegatedServicesOutputArgs ¶
type GetDelegatedServicesOutputArgs struct { // Account ID number of a delegated administrator account in the organization. AccountId pulumi.StringInput `pulumi:"accountId"` }
A collection of arguments for invoking getDelegatedServices.
func (GetDelegatedServicesOutputArgs) ElementType ¶
func (GetDelegatedServicesOutputArgs) ElementType() reflect.Type
type GetDelegatedServicesResult ¶
type GetDelegatedServicesResult struct { AccountId string `pulumi:"accountId"` // Services for which the account is a delegated administrator, which have the following attributes: DelegatedServices []GetDelegatedServicesDelegatedService `pulumi:"delegatedServices"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getDelegatedServices.
func GetDelegatedServices ¶
func GetDelegatedServices(ctx *pulumi.Context, args *GetDelegatedServicesArgs, opts ...pulumi.InvokeOption) (*GetDelegatedServicesResult, error)
Get a list the AWS services for which the specified account is a delegated administrator
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.GetDelegatedServices(ctx, &organizations.GetDelegatedServicesArgs{ AccountId: "AWS ACCOUNT ID", }, nil) if err != nil { return err } return nil }) }
```
type GetDelegatedServicesResultOutput ¶
type GetDelegatedServicesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDelegatedServices.
func GetDelegatedServicesOutput ¶
func GetDelegatedServicesOutput(ctx *pulumi.Context, args GetDelegatedServicesOutputArgs, opts ...pulumi.InvokeOption) GetDelegatedServicesResultOutput
func (GetDelegatedServicesResultOutput) AccountId ¶
func (o GetDelegatedServicesResultOutput) AccountId() pulumi.StringOutput
func (GetDelegatedServicesResultOutput) DelegatedServices ¶
func (o GetDelegatedServicesResultOutput) DelegatedServices() GetDelegatedServicesDelegatedServiceArrayOutput
Services for which the account is a delegated administrator, which have the following attributes:
func (GetDelegatedServicesResultOutput) ElementType ¶
func (GetDelegatedServicesResultOutput) ElementType() reflect.Type
func (GetDelegatedServicesResultOutput) Id ¶
func (o GetDelegatedServicesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDelegatedServicesResultOutput) ToGetDelegatedServicesResultOutput ¶
func (o GetDelegatedServicesResultOutput) ToGetDelegatedServicesResultOutput() GetDelegatedServicesResultOutput
func (GetDelegatedServicesResultOutput) ToGetDelegatedServicesResultOutputWithContext ¶
func (o GetDelegatedServicesResultOutput) ToGetDelegatedServicesResultOutputWithContext(ctx context.Context) GetDelegatedServicesResultOutput
type GetOrganizationAccount ¶
type GetOrganizationAccount struct { // ARN of the root Arn string `pulumi:"arn"` // Email of the account Email string `pulumi:"email"` // Identifier of the root Id string `pulumi:"id"` // The name of the policy type Name string `pulumi:"name"` // The status of the policy type as it relates to the associated root Status string `pulumi:"status"` }
type GetOrganizationAccountArgs ¶
type GetOrganizationAccountArgs struct { // ARN of the root Arn pulumi.StringInput `pulumi:"arn"` // Email of the account Email pulumi.StringInput `pulumi:"email"` // Identifier of the root Id pulumi.StringInput `pulumi:"id"` // The name of the policy type Name pulumi.StringInput `pulumi:"name"` // The status of the policy type as it relates to the associated root Status pulumi.StringInput `pulumi:"status"` }
func (GetOrganizationAccountArgs) ElementType ¶
func (GetOrganizationAccountArgs) ElementType() reflect.Type
func (GetOrganizationAccountArgs) ToGetOrganizationAccountOutput ¶
func (i GetOrganizationAccountArgs) ToGetOrganizationAccountOutput() GetOrganizationAccountOutput
func (GetOrganizationAccountArgs) ToGetOrganizationAccountOutputWithContext ¶
func (i GetOrganizationAccountArgs) ToGetOrganizationAccountOutputWithContext(ctx context.Context) GetOrganizationAccountOutput
type GetOrganizationAccountArray ¶
type GetOrganizationAccountArray []GetOrganizationAccountInput
func (GetOrganizationAccountArray) ElementType ¶
func (GetOrganizationAccountArray) ElementType() reflect.Type
func (GetOrganizationAccountArray) ToGetOrganizationAccountArrayOutput ¶
func (i GetOrganizationAccountArray) ToGetOrganizationAccountArrayOutput() GetOrganizationAccountArrayOutput
func (GetOrganizationAccountArray) ToGetOrganizationAccountArrayOutputWithContext ¶
func (i GetOrganizationAccountArray) ToGetOrganizationAccountArrayOutputWithContext(ctx context.Context) GetOrganizationAccountArrayOutput
type GetOrganizationAccountArrayInput ¶
type GetOrganizationAccountArrayInput interface { pulumi.Input ToGetOrganizationAccountArrayOutput() GetOrganizationAccountArrayOutput ToGetOrganizationAccountArrayOutputWithContext(context.Context) GetOrganizationAccountArrayOutput }
GetOrganizationAccountArrayInput is an input type that accepts GetOrganizationAccountArray and GetOrganizationAccountArrayOutput values. You can construct a concrete instance of `GetOrganizationAccountArrayInput` via:
GetOrganizationAccountArray{ GetOrganizationAccountArgs{...} }
type GetOrganizationAccountArrayOutput ¶
type GetOrganizationAccountArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationAccountArrayOutput) ElementType ¶
func (GetOrganizationAccountArrayOutput) ElementType() reflect.Type
func (GetOrganizationAccountArrayOutput) Index ¶
func (o GetOrganizationAccountArrayOutput) Index(i pulumi.IntInput) GetOrganizationAccountOutput
func (GetOrganizationAccountArrayOutput) ToGetOrganizationAccountArrayOutput ¶
func (o GetOrganizationAccountArrayOutput) ToGetOrganizationAccountArrayOutput() GetOrganizationAccountArrayOutput
func (GetOrganizationAccountArrayOutput) ToGetOrganizationAccountArrayOutputWithContext ¶
func (o GetOrganizationAccountArrayOutput) ToGetOrganizationAccountArrayOutputWithContext(ctx context.Context) GetOrganizationAccountArrayOutput
type GetOrganizationAccountInput ¶
type GetOrganizationAccountInput interface { pulumi.Input ToGetOrganizationAccountOutput() GetOrganizationAccountOutput ToGetOrganizationAccountOutputWithContext(context.Context) GetOrganizationAccountOutput }
GetOrganizationAccountInput is an input type that accepts GetOrganizationAccountArgs and GetOrganizationAccountOutput values. You can construct a concrete instance of `GetOrganizationAccountInput` via:
GetOrganizationAccountArgs{...}
type GetOrganizationAccountOutput ¶
type GetOrganizationAccountOutput struct{ *pulumi.OutputState }
func (GetOrganizationAccountOutput) Arn ¶
func (o GetOrganizationAccountOutput) Arn() pulumi.StringOutput
ARN of the root
func (GetOrganizationAccountOutput) ElementType ¶
func (GetOrganizationAccountOutput) ElementType() reflect.Type
func (GetOrganizationAccountOutput) Email ¶
func (o GetOrganizationAccountOutput) Email() pulumi.StringOutput
Email of the account
func (GetOrganizationAccountOutput) Id ¶
func (o GetOrganizationAccountOutput) Id() pulumi.StringOutput
Identifier of the root
func (GetOrganizationAccountOutput) Name ¶
func (o GetOrganizationAccountOutput) Name() pulumi.StringOutput
The name of the policy type
func (GetOrganizationAccountOutput) Status ¶
func (o GetOrganizationAccountOutput) Status() pulumi.StringOutput
The status of the policy type as it relates to the associated root
func (GetOrganizationAccountOutput) ToGetOrganizationAccountOutput ¶
func (o GetOrganizationAccountOutput) ToGetOrganizationAccountOutput() GetOrganizationAccountOutput
func (GetOrganizationAccountOutput) ToGetOrganizationAccountOutputWithContext ¶
func (o GetOrganizationAccountOutput) ToGetOrganizationAccountOutputWithContext(ctx context.Context) GetOrganizationAccountOutput
type GetOrganizationNonMasterAccount ¶
type GetOrganizationNonMasterAccount struct { // ARN of the root Arn string `pulumi:"arn"` // Email of the account Email string `pulumi:"email"` // Identifier of the root Id string `pulumi:"id"` // The name of the policy type Name string `pulumi:"name"` // The status of the policy type as it relates to the associated root Status string `pulumi:"status"` }
type GetOrganizationNonMasterAccountArgs ¶
type GetOrganizationNonMasterAccountArgs struct { // ARN of the root Arn pulumi.StringInput `pulumi:"arn"` // Email of the account Email pulumi.StringInput `pulumi:"email"` // Identifier of the root Id pulumi.StringInput `pulumi:"id"` // The name of the policy type Name pulumi.StringInput `pulumi:"name"` // The status of the policy type as it relates to the associated root Status pulumi.StringInput `pulumi:"status"` }
func (GetOrganizationNonMasterAccountArgs) ElementType ¶
func (GetOrganizationNonMasterAccountArgs) ElementType() reflect.Type
func (GetOrganizationNonMasterAccountArgs) ToGetOrganizationNonMasterAccountOutput ¶
func (i GetOrganizationNonMasterAccountArgs) ToGetOrganizationNonMasterAccountOutput() GetOrganizationNonMasterAccountOutput
func (GetOrganizationNonMasterAccountArgs) ToGetOrganizationNonMasterAccountOutputWithContext ¶
func (i GetOrganizationNonMasterAccountArgs) ToGetOrganizationNonMasterAccountOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountOutput
type GetOrganizationNonMasterAccountArray ¶
type GetOrganizationNonMasterAccountArray []GetOrganizationNonMasterAccountInput
func (GetOrganizationNonMasterAccountArray) ElementType ¶
func (GetOrganizationNonMasterAccountArray) ElementType() reflect.Type
func (GetOrganizationNonMasterAccountArray) ToGetOrganizationNonMasterAccountArrayOutput ¶
func (i GetOrganizationNonMasterAccountArray) ToGetOrganizationNonMasterAccountArrayOutput() GetOrganizationNonMasterAccountArrayOutput
func (GetOrganizationNonMasterAccountArray) ToGetOrganizationNonMasterAccountArrayOutputWithContext ¶
func (i GetOrganizationNonMasterAccountArray) ToGetOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountArrayOutput
type GetOrganizationNonMasterAccountArrayInput ¶
type GetOrganizationNonMasterAccountArrayInput interface { pulumi.Input ToGetOrganizationNonMasterAccountArrayOutput() GetOrganizationNonMasterAccountArrayOutput ToGetOrganizationNonMasterAccountArrayOutputWithContext(context.Context) GetOrganizationNonMasterAccountArrayOutput }
GetOrganizationNonMasterAccountArrayInput is an input type that accepts GetOrganizationNonMasterAccountArray and GetOrganizationNonMasterAccountArrayOutput values. You can construct a concrete instance of `GetOrganizationNonMasterAccountArrayInput` via:
GetOrganizationNonMasterAccountArray{ GetOrganizationNonMasterAccountArgs{...} }
type GetOrganizationNonMasterAccountArrayOutput ¶
type GetOrganizationNonMasterAccountArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationNonMasterAccountArrayOutput) ElementType ¶
func (GetOrganizationNonMasterAccountArrayOutput) ElementType() reflect.Type
func (GetOrganizationNonMasterAccountArrayOutput) ToGetOrganizationNonMasterAccountArrayOutput ¶
func (o GetOrganizationNonMasterAccountArrayOutput) ToGetOrganizationNonMasterAccountArrayOutput() GetOrganizationNonMasterAccountArrayOutput
func (GetOrganizationNonMasterAccountArrayOutput) ToGetOrganizationNonMasterAccountArrayOutputWithContext ¶
func (o GetOrganizationNonMasterAccountArrayOutput) ToGetOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountArrayOutput
type GetOrganizationNonMasterAccountInput ¶
type GetOrganizationNonMasterAccountInput interface { pulumi.Input ToGetOrganizationNonMasterAccountOutput() GetOrganizationNonMasterAccountOutput ToGetOrganizationNonMasterAccountOutputWithContext(context.Context) GetOrganizationNonMasterAccountOutput }
GetOrganizationNonMasterAccountInput is an input type that accepts GetOrganizationNonMasterAccountArgs and GetOrganizationNonMasterAccountOutput values. You can construct a concrete instance of `GetOrganizationNonMasterAccountInput` via:
GetOrganizationNonMasterAccountArgs{...}
type GetOrganizationNonMasterAccountOutput ¶
type GetOrganizationNonMasterAccountOutput struct{ *pulumi.OutputState }
func (GetOrganizationNonMasterAccountOutput) Arn ¶
func (o GetOrganizationNonMasterAccountOutput) Arn() pulumi.StringOutput
ARN of the root
func (GetOrganizationNonMasterAccountOutput) ElementType ¶
func (GetOrganizationNonMasterAccountOutput) ElementType() reflect.Type
func (GetOrganizationNonMasterAccountOutput) Email ¶
func (o GetOrganizationNonMasterAccountOutput) Email() pulumi.StringOutput
Email of the account
func (GetOrganizationNonMasterAccountOutput) Id ¶
func (o GetOrganizationNonMasterAccountOutput) Id() pulumi.StringOutput
Identifier of the root
func (GetOrganizationNonMasterAccountOutput) Name ¶
func (o GetOrganizationNonMasterAccountOutput) Name() pulumi.StringOutput
The name of the policy type
func (GetOrganizationNonMasterAccountOutput) Status ¶
func (o GetOrganizationNonMasterAccountOutput) Status() pulumi.StringOutput
The status of the policy type as it relates to the associated root
func (GetOrganizationNonMasterAccountOutput) ToGetOrganizationNonMasterAccountOutput ¶
func (o GetOrganizationNonMasterAccountOutput) ToGetOrganizationNonMasterAccountOutput() GetOrganizationNonMasterAccountOutput
func (GetOrganizationNonMasterAccountOutput) ToGetOrganizationNonMasterAccountOutputWithContext ¶
func (o GetOrganizationNonMasterAccountOutput) ToGetOrganizationNonMasterAccountOutputWithContext(ctx context.Context) GetOrganizationNonMasterAccountOutput
type GetOrganizationRoot ¶
type GetOrganizationRoot struct { // ARN of the root Arn string `pulumi:"arn"` // Identifier of the root Id string `pulumi:"id"` // The name of the policy type Name string `pulumi:"name"` // List of policy types enabled for this root. All elements have these attributes: PolicyTypes []GetOrganizationRootPolicyType `pulumi:"policyTypes"` }
type GetOrganizationRootArgs ¶
type GetOrganizationRootArgs struct { // ARN of the root Arn pulumi.StringInput `pulumi:"arn"` // Identifier of the root Id pulumi.StringInput `pulumi:"id"` // The name of the policy type Name pulumi.StringInput `pulumi:"name"` // List of policy types enabled for this root. All elements have these attributes: PolicyTypes GetOrganizationRootPolicyTypeArrayInput `pulumi:"policyTypes"` }
func (GetOrganizationRootArgs) ElementType ¶
func (GetOrganizationRootArgs) ElementType() reflect.Type
func (GetOrganizationRootArgs) ToGetOrganizationRootOutput ¶
func (i GetOrganizationRootArgs) ToGetOrganizationRootOutput() GetOrganizationRootOutput
func (GetOrganizationRootArgs) ToGetOrganizationRootOutputWithContext ¶
func (i GetOrganizationRootArgs) ToGetOrganizationRootOutputWithContext(ctx context.Context) GetOrganizationRootOutput
type GetOrganizationRootArray ¶
type GetOrganizationRootArray []GetOrganizationRootInput
func (GetOrganizationRootArray) ElementType ¶
func (GetOrganizationRootArray) ElementType() reflect.Type
func (GetOrganizationRootArray) ToGetOrganizationRootArrayOutput ¶
func (i GetOrganizationRootArray) ToGetOrganizationRootArrayOutput() GetOrganizationRootArrayOutput
func (GetOrganizationRootArray) ToGetOrganizationRootArrayOutputWithContext ¶
func (i GetOrganizationRootArray) ToGetOrganizationRootArrayOutputWithContext(ctx context.Context) GetOrganizationRootArrayOutput
type GetOrganizationRootArrayInput ¶
type GetOrganizationRootArrayInput interface { pulumi.Input ToGetOrganizationRootArrayOutput() GetOrganizationRootArrayOutput ToGetOrganizationRootArrayOutputWithContext(context.Context) GetOrganizationRootArrayOutput }
GetOrganizationRootArrayInput is an input type that accepts GetOrganizationRootArray and GetOrganizationRootArrayOutput values. You can construct a concrete instance of `GetOrganizationRootArrayInput` via:
GetOrganizationRootArray{ GetOrganizationRootArgs{...} }
type GetOrganizationRootArrayOutput ¶
type GetOrganizationRootArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationRootArrayOutput) ElementType ¶
func (GetOrganizationRootArrayOutput) ElementType() reflect.Type
func (GetOrganizationRootArrayOutput) Index ¶
func (o GetOrganizationRootArrayOutput) Index(i pulumi.IntInput) GetOrganizationRootOutput
func (GetOrganizationRootArrayOutput) ToGetOrganizationRootArrayOutput ¶
func (o GetOrganizationRootArrayOutput) ToGetOrganizationRootArrayOutput() GetOrganizationRootArrayOutput
func (GetOrganizationRootArrayOutput) ToGetOrganizationRootArrayOutputWithContext ¶
func (o GetOrganizationRootArrayOutput) ToGetOrganizationRootArrayOutputWithContext(ctx context.Context) GetOrganizationRootArrayOutput
type GetOrganizationRootInput ¶
type GetOrganizationRootInput interface { pulumi.Input ToGetOrganizationRootOutput() GetOrganizationRootOutput ToGetOrganizationRootOutputWithContext(context.Context) GetOrganizationRootOutput }
GetOrganizationRootInput is an input type that accepts GetOrganizationRootArgs and GetOrganizationRootOutput values. You can construct a concrete instance of `GetOrganizationRootInput` via:
GetOrganizationRootArgs{...}
type GetOrganizationRootOutput ¶
type GetOrganizationRootOutput struct{ *pulumi.OutputState }
func (GetOrganizationRootOutput) Arn ¶
func (o GetOrganizationRootOutput) Arn() pulumi.StringOutput
ARN of the root
func (GetOrganizationRootOutput) ElementType ¶
func (GetOrganizationRootOutput) ElementType() reflect.Type
func (GetOrganizationRootOutput) Id ¶
func (o GetOrganizationRootOutput) Id() pulumi.StringOutput
Identifier of the root
func (GetOrganizationRootOutput) Name ¶
func (o GetOrganizationRootOutput) Name() pulumi.StringOutput
The name of the policy type
func (GetOrganizationRootOutput) PolicyTypes ¶
func (o GetOrganizationRootOutput) PolicyTypes() GetOrganizationRootPolicyTypeArrayOutput
List of policy types enabled for this root. All elements have these attributes:
func (GetOrganizationRootOutput) ToGetOrganizationRootOutput ¶
func (o GetOrganizationRootOutput) ToGetOrganizationRootOutput() GetOrganizationRootOutput
func (GetOrganizationRootOutput) ToGetOrganizationRootOutputWithContext ¶
func (o GetOrganizationRootOutput) ToGetOrganizationRootOutputWithContext(ctx context.Context) GetOrganizationRootOutput
type GetOrganizationRootPolicyTypeArgs ¶
type GetOrganizationRootPolicyTypeArgs struct { // The status of the policy type as it relates to the associated root Status pulumi.StringInput `pulumi:"status"` Type pulumi.StringInput `pulumi:"type"` }
func (GetOrganizationRootPolicyTypeArgs) ElementType ¶
func (GetOrganizationRootPolicyTypeArgs) ElementType() reflect.Type
func (GetOrganizationRootPolicyTypeArgs) ToGetOrganizationRootPolicyTypeOutput ¶
func (i GetOrganizationRootPolicyTypeArgs) ToGetOrganizationRootPolicyTypeOutput() GetOrganizationRootPolicyTypeOutput
func (GetOrganizationRootPolicyTypeArgs) ToGetOrganizationRootPolicyTypeOutputWithContext ¶
func (i GetOrganizationRootPolicyTypeArgs) ToGetOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeOutput
type GetOrganizationRootPolicyTypeArray ¶
type GetOrganizationRootPolicyTypeArray []GetOrganizationRootPolicyTypeInput
func (GetOrganizationRootPolicyTypeArray) ElementType ¶
func (GetOrganizationRootPolicyTypeArray) ElementType() reflect.Type
func (GetOrganizationRootPolicyTypeArray) ToGetOrganizationRootPolicyTypeArrayOutput ¶
func (i GetOrganizationRootPolicyTypeArray) ToGetOrganizationRootPolicyTypeArrayOutput() GetOrganizationRootPolicyTypeArrayOutput
func (GetOrganizationRootPolicyTypeArray) ToGetOrganizationRootPolicyTypeArrayOutputWithContext ¶
func (i GetOrganizationRootPolicyTypeArray) ToGetOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeArrayOutput
type GetOrganizationRootPolicyTypeArrayInput ¶
type GetOrganizationRootPolicyTypeArrayInput interface { pulumi.Input ToGetOrganizationRootPolicyTypeArrayOutput() GetOrganizationRootPolicyTypeArrayOutput ToGetOrganizationRootPolicyTypeArrayOutputWithContext(context.Context) GetOrganizationRootPolicyTypeArrayOutput }
GetOrganizationRootPolicyTypeArrayInput is an input type that accepts GetOrganizationRootPolicyTypeArray and GetOrganizationRootPolicyTypeArrayOutput values. You can construct a concrete instance of `GetOrganizationRootPolicyTypeArrayInput` via:
GetOrganizationRootPolicyTypeArray{ GetOrganizationRootPolicyTypeArgs{...} }
type GetOrganizationRootPolicyTypeArrayOutput ¶
type GetOrganizationRootPolicyTypeArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationRootPolicyTypeArrayOutput) ElementType ¶
func (GetOrganizationRootPolicyTypeArrayOutput) ElementType() reflect.Type
func (GetOrganizationRootPolicyTypeArrayOutput) ToGetOrganizationRootPolicyTypeArrayOutput ¶
func (o GetOrganizationRootPolicyTypeArrayOutput) ToGetOrganizationRootPolicyTypeArrayOutput() GetOrganizationRootPolicyTypeArrayOutput
func (GetOrganizationRootPolicyTypeArrayOutput) ToGetOrganizationRootPolicyTypeArrayOutputWithContext ¶
func (o GetOrganizationRootPolicyTypeArrayOutput) ToGetOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeArrayOutput
type GetOrganizationRootPolicyTypeInput ¶
type GetOrganizationRootPolicyTypeInput interface { pulumi.Input ToGetOrganizationRootPolicyTypeOutput() GetOrganizationRootPolicyTypeOutput ToGetOrganizationRootPolicyTypeOutputWithContext(context.Context) GetOrganizationRootPolicyTypeOutput }
GetOrganizationRootPolicyTypeInput is an input type that accepts GetOrganizationRootPolicyTypeArgs and GetOrganizationRootPolicyTypeOutput values. You can construct a concrete instance of `GetOrganizationRootPolicyTypeInput` via:
GetOrganizationRootPolicyTypeArgs{...}
type GetOrganizationRootPolicyTypeOutput ¶
type GetOrganizationRootPolicyTypeOutput struct{ *pulumi.OutputState }
func (GetOrganizationRootPolicyTypeOutput) ElementType ¶
func (GetOrganizationRootPolicyTypeOutput) ElementType() reflect.Type
func (GetOrganizationRootPolicyTypeOutput) Status ¶
func (o GetOrganizationRootPolicyTypeOutput) Status() pulumi.StringOutput
The status of the policy type as it relates to the associated root
func (GetOrganizationRootPolicyTypeOutput) ToGetOrganizationRootPolicyTypeOutput ¶
func (o GetOrganizationRootPolicyTypeOutput) ToGetOrganizationRootPolicyTypeOutput() GetOrganizationRootPolicyTypeOutput
func (GetOrganizationRootPolicyTypeOutput) ToGetOrganizationRootPolicyTypeOutputWithContext ¶
func (o GetOrganizationRootPolicyTypeOutput) ToGetOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) GetOrganizationRootPolicyTypeOutput
func (GetOrganizationRootPolicyTypeOutput) Type ¶
func (o GetOrganizationRootPolicyTypeOutput) Type() pulumi.StringOutput
type GetOrganizationalUnitChildAccountsAccount ¶
type GetOrganizationalUnitChildAccountsAccount struct { // The Amazon Resource Name (ARN) of the account. Arn string `pulumi:"arn"` // The email address associated with the AWS account. Email string `pulumi:"email"` // Parent identifier of the organizational units. Id string `pulumi:"id"` // The friendly name of the account. Name string `pulumi:"name"` // The status of the account in the organization. Status string `pulumi:"status"` }
type GetOrganizationalUnitChildAccountsAccountArgs ¶
type GetOrganizationalUnitChildAccountsAccountArgs struct { // The Amazon Resource Name (ARN) of the account. Arn pulumi.StringInput `pulumi:"arn"` // The email address associated with the AWS account. Email pulumi.StringInput `pulumi:"email"` // Parent identifier of the organizational units. Id pulumi.StringInput `pulumi:"id"` // The friendly name of the account. Name pulumi.StringInput `pulumi:"name"` // The status of the account in the organization. Status pulumi.StringInput `pulumi:"status"` }
func (GetOrganizationalUnitChildAccountsAccountArgs) ElementType ¶
func (GetOrganizationalUnitChildAccountsAccountArgs) ElementType() reflect.Type
func (GetOrganizationalUnitChildAccountsAccountArgs) ToGetOrganizationalUnitChildAccountsAccountOutput ¶
func (i GetOrganizationalUnitChildAccountsAccountArgs) ToGetOrganizationalUnitChildAccountsAccountOutput() GetOrganizationalUnitChildAccountsAccountOutput
func (GetOrganizationalUnitChildAccountsAccountArgs) ToGetOrganizationalUnitChildAccountsAccountOutputWithContext ¶
func (i GetOrganizationalUnitChildAccountsAccountArgs) ToGetOrganizationalUnitChildAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountOutput
type GetOrganizationalUnitChildAccountsAccountArray ¶
type GetOrganizationalUnitChildAccountsAccountArray []GetOrganizationalUnitChildAccountsAccountInput
func (GetOrganizationalUnitChildAccountsAccountArray) ElementType ¶
func (GetOrganizationalUnitChildAccountsAccountArray) ElementType() reflect.Type
func (GetOrganizationalUnitChildAccountsAccountArray) ToGetOrganizationalUnitChildAccountsAccountArrayOutput ¶
func (i GetOrganizationalUnitChildAccountsAccountArray) ToGetOrganizationalUnitChildAccountsAccountArrayOutput() GetOrganizationalUnitChildAccountsAccountArrayOutput
func (GetOrganizationalUnitChildAccountsAccountArray) ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext ¶
func (i GetOrganizationalUnitChildAccountsAccountArray) ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountArrayOutput
type GetOrganizationalUnitChildAccountsAccountArrayInput ¶
type GetOrganizationalUnitChildAccountsAccountArrayInput interface { pulumi.Input ToGetOrganizationalUnitChildAccountsAccountArrayOutput() GetOrganizationalUnitChildAccountsAccountArrayOutput ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext(context.Context) GetOrganizationalUnitChildAccountsAccountArrayOutput }
GetOrganizationalUnitChildAccountsAccountArrayInput is an input type that accepts GetOrganizationalUnitChildAccountsAccountArray and GetOrganizationalUnitChildAccountsAccountArrayOutput values. You can construct a concrete instance of `GetOrganizationalUnitChildAccountsAccountArrayInput` via:
GetOrganizationalUnitChildAccountsAccountArray{ GetOrganizationalUnitChildAccountsAccountArgs{...} }
type GetOrganizationalUnitChildAccountsAccountArrayOutput ¶
type GetOrganizationalUnitChildAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationalUnitChildAccountsAccountArrayOutput) ElementType ¶
func (GetOrganizationalUnitChildAccountsAccountArrayOutput) ElementType() reflect.Type
func (GetOrganizationalUnitChildAccountsAccountArrayOutput) ToGetOrganizationalUnitChildAccountsAccountArrayOutput ¶
func (o GetOrganizationalUnitChildAccountsAccountArrayOutput) ToGetOrganizationalUnitChildAccountsAccountArrayOutput() GetOrganizationalUnitChildAccountsAccountArrayOutput
func (GetOrganizationalUnitChildAccountsAccountArrayOutput) ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext ¶
func (o GetOrganizationalUnitChildAccountsAccountArrayOutput) ToGetOrganizationalUnitChildAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountArrayOutput
type GetOrganizationalUnitChildAccountsAccountInput ¶
type GetOrganizationalUnitChildAccountsAccountInput interface { pulumi.Input ToGetOrganizationalUnitChildAccountsAccountOutput() GetOrganizationalUnitChildAccountsAccountOutput ToGetOrganizationalUnitChildAccountsAccountOutputWithContext(context.Context) GetOrganizationalUnitChildAccountsAccountOutput }
GetOrganizationalUnitChildAccountsAccountInput is an input type that accepts GetOrganizationalUnitChildAccountsAccountArgs and GetOrganizationalUnitChildAccountsAccountOutput values. You can construct a concrete instance of `GetOrganizationalUnitChildAccountsAccountInput` via:
GetOrganizationalUnitChildAccountsAccountArgs{...}
type GetOrganizationalUnitChildAccountsAccountOutput ¶
type GetOrganizationalUnitChildAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetOrganizationalUnitChildAccountsAccountOutput) Arn ¶
func (o GetOrganizationalUnitChildAccountsAccountOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the account.
func (GetOrganizationalUnitChildAccountsAccountOutput) ElementType ¶
func (GetOrganizationalUnitChildAccountsAccountOutput) ElementType() reflect.Type
func (GetOrganizationalUnitChildAccountsAccountOutput) Email ¶
func (o GetOrganizationalUnitChildAccountsAccountOutput) Email() pulumi.StringOutput
The email address associated with the AWS account.
func (GetOrganizationalUnitChildAccountsAccountOutput) Id ¶
Parent identifier of the organizational units.
func (GetOrganizationalUnitChildAccountsAccountOutput) Name ¶
func (o GetOrganizationalUnitChildAccountsAccountOutput) Name() pulumi.StringOutput
The friendly name of the account.
func (GetOrganizationalUnitChildAccountsAccountOutput) Status ¶
func (o GetOrganizationalUnitChildAccountsAccountOutput) Status() pulumi.StringOutput
The status of the account in the organization.
func (GetOrganizationalUnitChildAccountsAccountOutput) ToGetOrganizationalUnitChildAccountsAccountOutput ¶
func (o GetOrganizationalUnitChildAccountsAccountOutput) ToGetOrganizationalUnitChildAccountsAccountOutput() GetOrganizationalUnitChildAccountsAccountOutput
func (GetOrganizationalUnitChildAccountsAccountOutput) ToGetOrganizationalUnitChildAccountsAccountOutputWithContext ¶
func (o GetOrganizationalUnitChildAccountsAccountOutput) ToGetOrganizationalUnitChildAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsAccountOutput
type GetOrganizationalUnitChildAccountsArgs ¶
type GetOrganizationalUnitChildAccountsArgs struct { // The parent ID of the accounts. ParentId string `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnitChildAccounts.
type GetOrganizationalUnitChildAccountsOutputArgs ¶
type GetOrganizationalUnitChildAccountsOutputArgs struct { // The parent ID of the accounts. ParentId pulumi.StringInput `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnitChildAccounts.
func (GetOrganizationalUnitChildAccountsOutputArgs) ElementType ¶
func (GetOrganizationalUnitChildAccountsOutputArgs) ElementType() reflect.Type
type GetOrganizationalUnitChildAccountsResult ¶
type GetOrganizationalUnitChildAccountsResult struct { // List of child accounts, which have the following attributes: Accounts []GetOrganizationalUnitChildAccountsAccount `pulumi:"accounts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ParentId string `pulumi:"parentId"` }
A collection of values returned by getOrganizationalUnitChildAccounts.
func GetOrganizationalUnitChildAccounts ¶
func GetOrganizationalUnitChildAccounts(ctx *pulumi.Context, args *GetOrganizationalUnitChildAccountsArgs, opts ...pulumi.InvokeOption) (*GetOrganizationalUnitChildAccountsResult, error)
Get all direct child accounts under a parent organizational unit. This only provides immediate children, not all children.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { org, err := organizations.LookupOrganization(ctx, nil, nil) if err != nil { return err } _, err = organizations.GetOrganizationalUnitChildAccounts(ctx, &organizations.GetOrganizationalUnitChildAccountsArgs{ ParentId: org.Roots[0].Id, }, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationalUnitChildAccountsResultOutput ¶
type GetOrganizationalUnitChildAccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganizationalUnitChildAccounts.
func GetOrganizationalUnitChildAccountsOutput ¶
func GetOrganizationalUnitChildAccountsOutput(ctx *pulumi.Context, args GetOrganizationalUnitChildAccountsOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationalUnitChildAccountsResultOutput
func (GetOrganizationalUnitChildAccountsResultOutput) Accounts ¶
func (o GetOrganizationalUnitChildAccountsResultOutput) Accounts() GetOrganizationalUnitChildAccountsAccountArrayOutput
List of child accounts, which have the following attributes:
func (GetOrganizationalUnitChildAccountsResultOutput) ElementType ¶
func (GetOrganizationalUnitChildAccountsResultOutput) ElementType() reflect.Type
func (GetOrganizationalUnitChildAccountsResultOutput) Id ¶
func (o GetOrganizationalUnitChildAccountsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOrganizationalUnitChildAccountsResultOutput) ParentId ¶
func (o GetOrganizationalUnitChildAccountsResultOutput) ParentId() pulumi.StringOutput
func (GetOrganizationalUnitChildAccountsResultOutput) ToGetOrganizationalUnitChildAccountsResultOutput ¶
func (o GetOrganizationalUnitChildAccountsResultOutput) ToGetOrganizationalUnitChildAccountsResultOutput() GetOrganizationalUnitChildAccountsResultOutput
func (GetOrganizationalUnitChildAccountsResultOutput) ToGetOrganizationalUnitChildAccountsResultOutputWithContext ¶
func (o GetOrganizationalUnitChildAccountsResultOutput) ToGetOrganizationalUnitChildAccountsResultOutputWithContext(ctx context.Context) GetOrganizationalUnitChildAccountsResultOutput
type GetOrganizationalUnitDescendantAccountsAccount ¶
type GetOrganizationalUnitDescendantAccountsAccount struct { // The Amazon Resource Name (ARN) of the account. Arn string `pulumi:"arn"` // The email address associated with the AWS account. Email string `pulumi:"email"` // Parent identifier of the organizational units. Id string `pulumi:"id"` // The friendly name of the account. Name string `pulumi:"name"` // The status of the account in the organization. Status string `pulumi:"status"` }
type GetOrganizationalUnitDescendantAccountsAccountArgs ¶
type GetOrganizationalUnitDescendantAccountsAccountArgs struct { // The Amazon Resource Name (ARN) of the account. Arn pulumi.StringInput `pulumi:"arn"` // The email address associated with the AWS account. Email pulumi.StringInput `pulumi:"email"` // Parent identifier of the organizational units. Id pulumi.StringInput `pulumi:"id"` // The friendly name of the account. Name pulumi.StringInput `pulumi:"name"` // The status of the account in the organization. Status pulumi.StringInput `pulumi:"status"` }
func (GetOrganizationalUnitDescendantAccountsAccountArgs) ElementType ¶
func (GetOrganizationalUnitDescendantAccountsAccountArgs) ElementType() reflect.Type
func (GetOrganizationalUnitDescendantAccountsAccountArgs) ToGetOrganizationalUnitDescendantAccountsAccountOutput ¶
func (i GetOrganizationalUnitDescendantAccountsAccountArgs) ToGetOrganizationalUnitDescendantAccountsAccountOutput() GetOrganizationalUnitDescendantAccountsAccountOutput
func (GetOrganizationalUnitDescendantAccountsAccountArgs) ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext ¶
func (i GetOrganizationalUnitDescendantAccountsAccountArgs) ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountOutput
type GetOrganizationalUnitDescendantAccountsAccountArray ¶
type GetOrganizationalUnitDescendantAccountsAccountArray []GetOrganizationalUnitDescendantAccountsAccountInput
func (GetOrganizationalUnitDescendantAccountsAccountArray) ElementType ¶
func (GetOrganizationalUnitDescendantAccountsAccountArray) ElementType() reflect.Type
func (GetOrganizationalUnitDescendantAccountsAccountArray) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput ¶
func (i GetOrganizationalUnitDescendantAccountsAccountArray) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput() GetOrganizationalUnitDescendantAccountsAccountArrayOutput
func (GetOrganizationalUnitDescendantAccountsAccountArray) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext ¶
func (i GetOrganizationalUnitDescendantAccountsAccountArray) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountArrayOutput
type GetOrganizationalUnitDescendantAccountsAccountArrayInput ¶
type GetOrganizationalUnitDescendantAccountsAccountArrayInput interface { pulumi.Input ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput() GetOrganizationalUnitDescendantAccountsAccountArrayOutput ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext(context.Context) GetOrganizationalUnitDescendantAccountsAccountArrayOutput }
GetOrganizationalUnitDescendantAccountsAccountArrayInput is an input type that accepts GetOrganizationalUnitDescendantAccountsAccountArray and GetOrganizationalUnitDescendantAccountsAccountArrayOutput values. You can construct a concrete instance of `GetOrganizationalUnitDescendantAccountsAccountArrayInput` via:
GetOrganizationalUnitDescendantAccountsAccountArray{ GetOrganizationalUnitDescendantAccountsAccountArgs{...} }
type GetOrganizationalUnitDescendantAccountsAccountArrayOutput ¶
type GetOrganizationalUnitDescendantAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ElementType ¶
func (GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ElementType() reflect.Type
func (GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput ¶
func (o GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutput() GetOrganizationalUnitDescendantAccountsAccountArrayOutput
func (GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext ¶
func (o GetOrganizationalUnitDescendantAccountsAccountArrayOutput) ToGetOrganizationalUnitDescendantAccountsAccountArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountArrayOutput
type GetOrganizationalUnitDescendantAccountsAccountInput ¶
type GetOrganizationalUnitDescendantAccountsAccountInput interface { pulumi.Input ToGetOrganizationalUnitDescendantAccountsAccountOutput() GetOrganizationalUnitDescendantAccountsAccountOutput ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext(context.Context) GetOrganizationalUnitDescendantAccountsAccountOutput }
GetOrganizationalUnitDescendantAccountsAccountInput is an input type that accepts GetOrganizationalUnitDescendantAccountsAccountArgs and GetOrganizationalUnitDescendantAccountsAccountOutput values. You can construct a concrete instance of `GetOrganizationalUnitDescendantAccountsAccountInput` via:
GetOrganizationalUnitDescendantAccountsAccountArgs{...}
type GetOrganizationalUnitDescendantAccountsAccountOutput ¶
type GetOrganizationalUnitDescendantAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetOrganizationalUnitDescendantAccountsAccountOutput) Arn ¶
The Amazon Resource Name (ARN) of the account.
func (GetOrganizationalUnitDescendantAccountsAccountOutput) ElementType ¶
func (GetOrganizationalUnitDescendantAccountsAccountOutput) ElementType() reflect.Type
func (GetOrganizationalUnitDescendantAccountsAccountOutput) Email ¶
func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Email() pulumi.StringOutput
The email address associated with the AWS account.
func (GetOrganizationalUnitDescendantAccountsAccountOutput) Id ¶
Parent identifier of the organizational units.
func (GetOrganizationalUnitDescendantAccountsAccountOutput) Name ¶
func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Name() pulumi.StringOutput
The friendly name of the account.
func (GetOrganizationalUnitDescendantAccountsAccountOutput) Status ¶
func (o GetOrganizationalUnitDescendantAccountsAccountOutput) Status() pulumi.StringOutput
The status of the account in the organization.
func (GetOrganizationalUnitDescendantAccountsAccountOutput) ToGetOrganizationalUnitDescendantAccountsAccountOutput ¶
func (o GetOrganizationalUnitDescendantAccountsAccountOutput) ToGetOrganizationalUnitDescendantAccountsAccountOutput() GetOrganizationalUnitDescendantAccountsAccountOutput
func (GetOrganizationalUnitDescendantAccountsAccountOutput) ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext ¶
func (o GetOrganizationalUnitDescendantAccountsAccountOutput) ToGetOrganizationalUnitDescendantAccountsAccountOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsAccountOutput
type GetOrganizationalUnitDescendantAccountsArgs ¶
type GetOrganizationalUnitDescendantAccountsArgs struct { // The parent ID of the accounts. ParentId string `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnitDescendantAccounts.
type GetOrganizationalUnitDescendantAccountsOutputArgs ¶
type GetOrganizationalUnitDescendantAccountsOutputArgs struct { // The parent ID of the accounts. ParentId pulumi.StringInput `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnitDescendantAccounts.
func (GetOrganizationalUnitDescendantAccountsOutputArgs) ElementType ¶
func (GetOrganizationalUnitDescendantAccountsOutputArgs) ElementType() reflect.Type
type GetOrganizationalUnitDescendantAccountsResult ¶
type GetOrganizationalUnitDescendantAccountsResult struct { // List of child accounts, which have the following attributes: Accounts []GetOrganizationalUnitDescendantAccountsAccount `pulumi:"accounts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ParentId string `pulumi:"parentId"` }
A collection of values returned by getOrganizationalUnitDescendantAccounts.
func GetOrganizationalUnitDescendantAccounts ¶
func GetOrganizationalUnitDescendantAccounts(ctx *pulumi.Context, args *GetOrganizationalUnitDescendantAccountsArgs, opts ...pulumi.InvokeOption) (*GetOrganizationalUnitDescendantAccountsResult, error)
Get all direct child accounts under a parent organizational unit. This provides all children.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { org, err := organizations.LookupOrganization(ctx, nil, nil) if err != nil { return err } _, err = organizations.GetOrganizationalUnitDescendantAccounts(ctx, &organizations.GetOrganizationalUnitDescendantAccountsArgs{ ParentId: org.Roots[0].Id, }, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationalUnitDescendantAccountsResultOutput ¶
type GetOrganizationalUnitDescendantAccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganizationalUnitDescendantAccounts.
func GetOrganizationalUnitDescendantAccountsOutput ¶
func GetOrganizationalUnitDescendantAccountsOutput(ctx *pulumi.Context, args GetOrganizationalUnitDescendantAccountsOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationalUnitDescendantAccountsResultOutput
func (GetOrganizationalUnitDescendantAccountsResultOutput) Accounts ¶
func (o GetOrganizationalUnitDescendantAccountsResultOutput) Accounts() GetOrganizationalUnitDescendantAccountsAccountArrayOutput
List of child accounts, which have the following attributes:
func (GetOrganizationalUnitDescendantAccountsResultOutput) ElementType ¶
func (GetOrganizationalUnitDescendantAccountsResultOutput) ElementType() reflect.Type
func (GetOrganizationalUnitDescendantAccountsResultOutput) Id ¶
The provider-assigned unique ID for this managed resource.
func (GetOrganizationalUnitDescendantAccountsResultOutput) ParentId ¶
func (o GetOrganizationalUnitDescendantAccountsResultOutput) ParentId() pulumi.StringOutput
func (GetOrganizationalUnitDescendantAccountsResultOutput) ToGetOrganizationalUnitDescendantAccountsResultOutput ¶
func (o GetOrganizationalUnitDescendantAccountsResultOutput) ToGetOrganizationalUnitDescendantAccountsResultOutput() GetOrganizationalUnitDescendantAccountsResultOutput
func (GetOrganizationalUnitDescendantAccountsResultOutput) ToGetOrganizationalUnitDescendantAccountsResultOutputWithContext ¶
func (o GetOrganizationalUnitDescendantAccountsResultOutput) ToGetOrganizationalUnitDescendantAccountsResultOutputWithContext(ctx context.Context) GetOrganizationalUnitDescendantAccountsResultOutput
type GetOrganizationalUnitsArgs ¶
type GetOrganizationalUnitsArgs struct { // Parent ID of the organizational unit. ParentId string `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnits.
type GetOrganizationalUnitsChildArgs ¶
type GetOrganizationalUnitsChildArgs struct { // ARN of the organizational unit Arn pulumi.StringInput `pulumi:"arn"` // Parent identifier of the organizational units. Id pulumi.StringInput `pulumi:"id"` // Name of the organizational unit Name pulumi.StringInput `pulumi:"name"` }
func (GetOrganizationalUnitsChildArgs) ElementType ¶
func (GetOrganizationalUnitsChildArgs) ElementType() reflect.Type
func (GetOrganizationalUnitsChildArgs) ToGetOrganizationalUnitsChildOutput ¶
func (i GetOrganizationalUnitsChildArgs) ToGetOrganizationalUnitsChildOutput() GetOrganizationalUnitsChildOutput
func (GetOrganizationalUnitsChildArgs) ToGetOrganizationalUnitsChildOutputWithContext ¶
func (i GetOrganizationalUnitsChildArgs) ToGetOrganizationalUnitsChildOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildOutput
type GetOrganizationalUnitsChildArray ¶
type GetOrganizationalUnitsChildArray []GetOrganizationalUnitsChildInput
func (GetOrganizationalUnitsChildArray) ElementType ¶
func (GetOrganizationalUnitsChildArray) ElementType() reflect.Type
func (GetOrganizationalUnitsChildArray) ToGetOrganizationalUnitsChildArrayOutput ¶
func (i GetOrganizationalUnitsChildArray) ToGetOrganizationalUnitsChildArrayOutput() GetOrganizationalUnitsChildArrayOutput
func (GetOrganizationalUnitsChildArray) ToGetOrganizationalUnitsChildArrayOutputWithContext ¶
func (i GetOrganizationalUnitsChildArray) ToGetOrganizationalUnitsChildArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildArrayOutput
type GetOrganizationalUnitsChildArrayInput ¶
type GetOrganizationalUnitsChildArrayInput interface { pulumi.Input ToGetOrganizationalUnitsChildArrayOutput() GetOrganizationalUnitsChildArrayOutput ToGetOrganizationalUnitsChildArrayOutputWithContext(context.Context) GetOrganizationalUnitsChildArrayOutput }
GetOrganizationalUnitsChildArrayInput is an input type that accepts GetOrganizationalUnitsChildArray and GetOrganizationalUnitsChildArrayOutput values. You can construct a concrete instance of `GetOrganizationalUnitsChildArrayInput` via:
GetOrganizationalUnitsChildArray{ GetOrganizationalUnitsChildArgs{...} }
type GetOrganizationalUnitsChildArrayOutput ¶
type GetOrganizationalUnitsChildArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationalUnitsChildArrayOutput) ElementType ¶
func (GetOrganizationalUnitsChildArrayOutput) ElementType() reflect.Type
func (GetOrganizationalUnitsChildArrayOutput) ToGetOrganizationalUnitsChildArrayOutput ¶
func (o GetOrganizationalUnitsChildArrayOutput) ToGetOrganizationalUnitsChildArrayOutput() GetOrganizationalUnitsChildArrayOutput
func (GetOrganizationalUnitsChildArrayOutput) ToGetOrganizationalUnitsChildArrayOutputWithContext ¶
func (o GetOrganizationalUnitsChildArrayOutput) ToGetOrganizationalUnitsChildArrayOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildArrayOutput
type GetOrganizationalUnitsChildInput ¶
type GetOrganizationalUnitsChildInput interface { pulumi.Input ToGetOrganizationalUnitsChildOutput() GetOrganizationalUnitsChildOutput ToGetOrganizationalUnitsChildOutputWithContext(context.Context) GetOrganizationalUnitsChildOutput }
GetOrganizationalUnitsChildInput is an input type that accepts GetOrganizationalUnitsChildArgs and GetOrganizationalUnitsChildOutput values. You can construct a concrete instance of `GetOrganizationalUnitsChildInput` via:
GetOrganizationalUnitsChildArgs{...}
type GetOrganizationalUnitsChildOutput ¶
type GetOrganizationalUnitsChildOutput struct{ *pulumi.OutputState }
func (GetOrganizationalUnitsChildOutput) Arn ¶
func (o GetOrganizationalUnitsChildOutput) Arn() pulumi.StringOutput
ARN of the organizational unit
func (GetOrganizationalUnitsChildOutput) ElementType ¶
func (GetOrganizationalUnitsChildOutput) ElementType() reflect.Type
func (GetOrganizationalUnitsChildOutput) Id ¶
func (o GetOrganizationalUnitsChildOutput) Id() pulumi.StringOutput
Parent identifier of the organizational units.
func (GetOrganizationalUnitsChildOutput) Name ¶
func (o GetOrganizationalUnitsChildOutput) Name() pulumi.StringOutput
Name of the organizational unit
func (GetOrganizationalUnitsChildOutput) ToGetOrganizationalUnitsChildOutput ¶
func (o GetOrganizationalUnitsChildOutput) ToGetOrganizationalUnitsChildOutput() GetOrganizationalUnitsChildOutput
func (GetOrganizationalUnitsChildOutput) ToGetOrganizationalUnitsChildOutputWithContext ¶
func (o GetOrganizationalUnitsChildOutput) ToGetOrganizationalUnitsChildOutputWithContext(ctx context.Context) GetOrganizationalUnitsChildOutput
type GetOrganizationalUnitsOutputArgs ¶
type GetOrganizationalUnitsOutputArgs struct { // Parent ID of the organizational unit. ParentId pulumi.StringInput `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnits.
func (GetOrganizationalUnitsOutputArgs) ElementType ¶
func (GetOrganizationalUnitsOutputArgs) ElementType() reflect.Type
type GetOrganizationalUnitsResult ¶
type GetOrganizationalUnitsResult struct { // List of child organizational units, which have the following attributes: Children []GetOrganizationalUnitsChild `pulumi:"children"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ParentId string `pulumi:"parentId"` }
A collection of values returned by getOrganizationalUnits.
func GetOrganizationalUnits ¶
func GetOrganizationalUnits(ctx *pulumi.Context, args *GetOrganizationalUnitsArgs, opts ...pulumi.InvokeOption) (*GetOrganizationalUnitsResult, error)
Get all direct child organizational units under a parent organizational unit. This only provides immediate children, not all children.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { org, err := organizations.LookupOrganization(ctx, nil, nil) if err != nil { return err } _, err = organizations.GetOrganizationalUnits(ctx, &organizations.GetOrganizationalUnitsArgs{ ParentId: org.Roots[0].Id, }, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationalUnitsResultOutput ¶
type GetOrganizationalUnitsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganizationalUnits.
func GetOrganizationalUnitsOutput ¶
func GetOrganizationalUnitsOutput(ctx *pulumi.Context, args GetOrganizationalUnitsOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationalUnitsResultOutput
func (GetOrganizationalUnitsResultOutput) Children ¶
func (o GetOrganizationalUnitsResultOutput) Children() GetOrganizationalUnitsChildArrayOutput
List of child organizational units, which have the following attributes:
func (GetOrganizationalUnitsResultOutput) ElementType ¶
func (GetOrganizationalUnitsResultOutput) ElementType() reflect.Type
func (GetOrganizationalUnitsResultOutput) Id ¶
func (o GetOrganizationalUnitsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOrganizationalUnitsResultOutput) ParentId ¶
func (o GetOrganizationalUnitsResultOutput) ParentId() pulumi.StringOutput
func (GetOrganizationalUnitsResultOutput) ToGetOrganizationalUnitsResultOutput ¶
func (o GetOrganizationalUnitsResultOutput) ToGetOrganizationalUnitsResultOutput() GetOrganizationalUnitsResultOutput
func (GetOrganizationalUnitsResultOutput) ToGetOrganizationalUnitsResultOutputWithContext ¶
func (o GetOrganizationalUnitsResultOutput) ToGetOrganizationalUnitsResultOutputWithContext(ctx context.Context) GetOrganizationalUnitsResultOutput
type GetPoliciesArgs ¶
type GetPoliciesArgs struct { // The type of policies to be returned in the response. Valid values are `SERVICE_CONTROL_POLICY | TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY` Filter string `pulumi:"filter"` }
A collection of arguments for invoking getPolicies.
type GetPoliciesForTargetArgs ¶
type GetPoliciesForTargetArgs struct { // Must supply one of the 4 different policy filters for a target (SERVICE_CONTROL_POLICY | TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY) Filter string `pulumi:"filter"` // The root (string that begins with "r-" followed by 4-32 lowercase letters or digits), account (12 digit string), or Organizational Unit (string starting with "ou-" followed by 4-32 lowercase letters or digits. This string is followed by a second "-" dash and from 8-32 additional lowercase letters or digits.) TargetId string `pulumi:"targetId"` }
A collection of arguments for invoking getPoliciesForTarget.
type GetPoliciesForTargetOutputArgs ¶
type GetPoliciesForTargetOutputArgs struct { // Must supply one of the 4 different policy filters for a target (SERVICE_CONTROL_POLICY | TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY) Filter pulumi.StringInput `pulumi:"filter"` // The root (string that begins with "r-" followed by 4-32 lowercase letters or digits), account (12 digit string), or Organizational Unit (string starting with "ou-" followed by 4-32 lowercase letters or digits. This string is followed by a second "-" dash and from 8-32 additional lowercase letters or digits.) TargetId pulumi.StringInput `pulumi:"targetId"` }
A collection of arguments for invoking getPoliciesForTarget.
func (GetPoliciesForTargetOutputArgs) ElementType ¶
func (GetPoliciesForTargetOutputArgs) ElementType() reflect.Type
type GetPoliciesForTargetResult ¶
type GetPoliciesForTargetResult struct { Filter string `pulumi:"filter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of all the policy ids found. Ids []string `pulumi:"ids"` TargetId string `pulumi:"targetId"` }
A collection of values returned by getPoliciesForTarget.
func GetPoliciesForTarget ¶
func GetPoliciesForTarget(ctx *pulumi.Context, args *GetPoliciesForTargetArgs, opts ...pulumi.InvokeOption) (*GetPoliciesForTargetResult, error)
Data source for managing an AWS Organizations Policies For Target.
## Example Usage
type GetPoliciesForTargetResultOutput ¶
type GetPoliciesForTargetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPoliciesForTarget.
func GetPoliciesForTargetOutput ¶
func GetPoliciesForTargetOutput(ctx *pulumi.Context, args GetPoliciesForTargetOutputArgs, opts ...pulumi.InvokeOption) GetPoliciesForTargetResultOutput
func (GetPoliciesForTargetResultOutput) ElementType ¶
func (GetPoliciesForTargetResultOutput) ElementType() reflect.Type
func (GetPoliciesForTargetResultOutput) Filter ¶
func (o GetPoliciesForTargetResultOutput) Filter() pulumi.StringOutput
func (GetPoliciesForTargetResultOutput) Id ¶
func (o GetPoliciesForTargetResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPoliciesForTargetResultOutput) Ids ¶
func (o GetPoliciesForTargetResultOutput) Ids() pulumi.StringArrayOutput
List of all the policy ids found.
func (GetPoliciesForTargetResultOutput) TargetId ¶
func (o GetPoliciesForTargetResultOutput) TargetId() pulumi.StringOutput
func (GetPoliciesForTargetResultOutput) ToGetPoliciesForTargetResultOutput ¶
func (o GetPoliciesForTargetResultOutput) ToGetPoliciesForTargetResultOutput() GetPoliciesForTargetResultOutput
func (GetPoliciesForTargetResultOutput) ToGetPoliciesForTargetResultOutputWithContext ¶
func (o GetPoliciesForTargetResultOutput) ToGetPoliciesForTargetResultOutputWithContext(ctx context.Context) GetPoliciesForTargetResultOutput
type GetPoliciesOutputArgs ¶
type GetPoliciesOutputArgs struct { // The type of policies to be returned in the response. Valid values are `SERVICE_CONTROL_POLICY | TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY` Filter pulumi.StringInput `pulumi:"filter"` }
A collection of arguments for invoking getPolicies.
func (GetPoliciesOutputArgs) ElementType ¶
func (GetPoliciesOutputArgs) ElementType() reflect.Type
type GetPoliciesResult ¶
type GetPoliciesResult struct { Filter string `pulumi:"filter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of all the policy ids found. Ids []string `pulumi:"ids"` }
A collection of values returned by getPolicies.
func GetPolicies ¶
func GetPolicies(ctx *pulumi.Context, args *GetPoliciesArgs, opts ...pulumi.InvokeOption) (*GetPoliciesResult, error)
Data source for managing an AWS Organizations Policies.
## Example Usage
type GetPoliciesResultOutput ¶
type GetPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicies.
func GetPoliciesOutput ¶
func GetPoliciesOutput(ctx *pulumi.Context, args GetPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetPoliciesResultOutput
func (GetPoliciesResultOutput) ElementType ¶
func (GetPoliciesResultOutput) ElementType() reflect.Type
func (GetPoliciesResultOutput) Filter ¶
func (o GetPoliciesResultOutput) Filter() pulumi.StringOutput
func (GetPoliciesResultOutput) Id ¶
func (o GetPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPoliciesResultOutput) Ids ¶
func (o GetPoliciesResultOutput) Ids() pulumi.StringArrayOutput
List of all the policy ids found.
func (GetPoliciesResultOutput) ToGetPoliciesResultOutput ¶
func (o GetPoliciesResultOutput) ToGetPoliciesResultOutput() GetPoliciesResultOutput
func (GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext ¶
func (o GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext(ctx context.Context) GetPoliciesResultOutput
type GetResourceTagsArgs ¶
type GetResourceTagsArgs struct { // ID of the resource with the tags to list. See details below. ResourceId string `pulumi:"resourceId"` // Map of key=value pairs for each tag set on the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getResourceTags.
type GetResourceTagsOutputArgs ¶
type GetResourceTagsOutputArgs struct { // ID of the resource with the tags to list. See details below. ResourceId pulumi.StringInput `pulumi:"resourceId"` // Map of key=value pairs for each tag set on the resource. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getResourceTags.
func (GetResourceTagsOutputArgs) ElementType ¶
func (GetResourceTagsOutputArgs) ElementType() reflect.Type
type GetResourceTagsResult ¶
type GetResourceTagsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ResourceId string `pulumi:"resourceId"` // Map of key=value pairs for each tag set on the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getResourceTags.
func GetResourceTags ¶
func GetResourceTags(ctx *pulumi.Context, args *GetResourceTagsArgs, opts ...pulumi.InvokeOption) (*GetResourceTagsResult, error)
Get tags attached to the specified AWS Organizations resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.GetResourceTags(ctx, &organizations.GetResourceTagsArgs{ ResourceId: "123456123846", }, nil) if err != nil { return err } return nil }) }
```
type GetResourceTagsResultOutput ¶
type GetResourceTagsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResourceTags.
func GetResourceTagsOutput ¶
func GetResourceTagsOutput(ctx *pulumi.Context, args GetResourceTagsOutputArgs, opts ...pulumi.InvokeOption) GetResourceTagsResultOutput
func (GetResourceTagsResultOutput) ElementType ¶
func (GetResourceTagsResultOutput) ElementType() reflect.Type
func (GetResourceTagsResultOutput) Id ¶
func (o GetResourceTagsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResourceTagsResultOutput) ResourceId ¶
func (o GetResourceTagsResultOutput) ResourceId() pulumi.StringOutput
func (GetResourceTagsResultOutput) Tags ¶
func (o GetResourceTagsResultOutput) Tags() pulumi.StringMapOutput
Map of key=value pairs for each tag set on the resource.
func (GetResourceTagsResultOutput) ToGetResourceTagsResultOutput ¶
func (o GetResourceTagsResultOutput) ToGetResourceTagsResultOutput() GetResourceTagsResultOutput
func (GetResourceTagsResultOutput) ToGetResourceTagsResultOutputWithContext ¶
func (o GetResourceTagsResultOutput) ToGetResourceTagsResultOutputWithContext(ctx context.Context) GetResourceTagsResultOutput
type LookupOrganizationResult ¶
type LookupOrganizationResult struct { // List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes: Accounts []GetOrganizationAccount `pulumi:"accounts"` // ARN of the root Arn string `pulumi:"arn"` // A list of AWS service principal names that have integration enabled with your organization. Organization must have `featureSet` set to `ALL`. For additional information, see the [AWS Organizations User Guide](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html). AwsServiceAccessPrincipals []string `pulumi:"awsServiceAccessPrincipals"` // A list of Organizations policy types that are enabled in the Organization Root. Organization must have `featureSet` set to `ALL`. For additional information about valid policy types (e.g., `SERVICE_CONTROL_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html). EnabledPolicyTypes []string `pulumi:"enabledPolicyTypes"` // FeatureSet of the organization. FeatureSet string `pulumi:"featureSet"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ARN of the account that is designated as the master account for the organization. MasterAccountArn string `pulumi:"masterAccountArn"` // The email address that is associated with the AWS account that is designated as the master account for the organization. MasterAccountEmail string `pulumi:"masterAccountEmail"` // Unique identifier (ID) of the master account of an organization. MasterAccountId string `pulumi:"masterAccountId"` // Name of the master account of an organization. MasterAccountName string `pulumi:"masterAccountName"` // 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 []GetOrganizationNonMasterAccount `pulumi:"nonMasterAccounts"` // List of organization roots. All elements have these attributes: Roots []GetOrganizationRoot `pulumi:"roots"` }
A collection of values returned by getOrganization.
func LookupOrganization ¶
func LookupOrganization(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupOrganizationResult, error)
Get information about the organization that the user's account belongs to
## Example Usage
### List all account IDs for the organization
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := organizations.LookupOrganization(ctx, nil, nil) if err != nil { return err } var splat0 []*string for _, val0 := range example.Accounts { splat0 = append(splat0, val0.Id) } ctx.Export("accountIds", splat0) return nil }) }
```
### SNS topic that can be interacted by the organization only
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := organizations.LookupOrganization(ctx, nil, nil); if err != nil { return err } snsTopic, err := sns.NewTopic(ctx, "sns_topic", &sns.TopicArgs{ Name: pulumi.String("my-sns-topic"), }) if err != nil { return err } snsTopicPolicy := snsTopic.Arn.ApplyT(func(arn string) (iam.GetPolicyDocumentResult, error) { return iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: "Allow", Actions: []string{ "SNS:Subscribe", "SNS:Publish", }, Conditions: []iam.GetPolicyDocumentStatementCondition{ { Test: "StringEquals", Variable: "aws:PrincipalOrgID", Values: interface{}{ example.Id, }, }, }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "AWS", Identifiers: []string{ "*", }, }, }, Resources: interface{}{ arn, }, }, }, }, nil), nil }).(iam.GetPolicyDocumentResultOutput) _, err = sns.NewTopicPolicy(ctx, "sns_topic_policy", &sns.TopicPolicyArgs{ Arn: snsTopic.Arn, Policy: snsTopicPolicy.ApplyT(func(snsTopicPolicy iam.GetPolicyDocumentResult) (*string, error) { return &snsTopicPolicy.Json, nil }).(pulumi.StringPtrOutput), }) if err != nil { return err } return nil }) } ```
type LookupOrganizationResultOutput ¶ added in v6.6.1
type LookupOrganizationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganization.
func LookupOrganizationOutput ¶ added in v6.6.1
func LookupOrganizationOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupOrganizationResultOutput
func (LookupOrganizationResultOutput) Accounts ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) Accounts() GetOrganizationAccountArrayOutput
List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes:
func (LookupOrganizationResultOutput) Arn ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) Arn() pulumi.StringOutput
ARN of the root
func (LookupOrganizationResultOutput) AwsServiceAccessPrincipals ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) AwsServiceAccessPrincipals() pulumi.StringArrayOutput
A list of AWS service principal names that have integration enabled with your organization. Organization must have `featureSet` set to `ALL`. For additional information, see the [AWS Organizations User Guide](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html).
func (LookupOrganizationResultOutput) ElementType ¶ added in v6.6.1
func (LookupOrganizationResultOutput) ElementType() reflect.Type
func (LookupOrganizationResultOutput) EnabledPolicyTypes ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) EnabledPolicyTypes() pulumi.StringArrayOutput
A list of Organizations policy types that are enabled in the Organization Root. Organization must have `featureSet` set to `ALL`. For additional information about valid policy types (e.g., `SERVICE_CONTROL_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
func (LookupOrganizationResultOutput) FeatureSet ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) FeatureSet() pulumi.StringOutput
FeatureSet of the organization.
func (LookupOrganizationResultOutput) Id ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupOrganizationResultOutput) MasterAccountArn ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) MasterAccountArn() pulumi.StringOutput
ARN of the account that is designated as the master account for the organization.
func (LookupOrganizationResultOutput) MasterAccountEmail ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) MasterAccountEmail() pulumi.StringOutput
The email address that is associated with the AWS account that is designated as the master account for the organization.
func (LookupOrganizationResultOutput) MasterAccountId ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) MasterAccountId() pulumi.StringOutput
Unique identifier (ID) of the master account of an organization.
func (LookupOrganizationResultOutput) MasterAccountName ¶ added in v6.32.0
func (o LookupOrganizationResultOutput) MasterAccountName() pulumi.StringOutput
Name of the master account of an organization.
func (LookupOrganizationResultOutput) NonMasterAccounts ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) NonMasterAccounts() GetOrganizationNonMasterAccountArrayOutput
List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
func (LookupOrganizationResultOutput) Roots ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) Roots() GetOrganizationRootArrayOutput
List of organization roots. All elements have these attributes:
func (LookupOrganizationResultOutput) ToLookupOrganizationResultOutput ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutput() LookupOrganizationResultOutput
func (LookupOrganizationResultOutput) ToLookupOrganizationResultOutputWithContext ¶ added in v6.6.1
func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutputWithContext(ctx context.Context) LookupOrganizationResultOutput
type LookupOrganizationalUnitArgs ¶ added in v6.3.0
type LookupOrganizationalUnitArgs struct { // Name of the organizational unit Name string `pulumi:"name"` // Parent ID of the organizational unit. ParentId string `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnit.
type LookupOrganizationalUnitOutputArgs ¶ added in v6.3.0
type LookupOrganizationalUnitOutputArgs struct { // Name of the organizational unit Name pulumi.StringInput `pulumi:"name"` // Parent ID of the organizational unit. ParentId pulumi.StringInput `pulumi:"parentId"` }
A collection of arguments for invoking getOrganizationalUnit.
func (LookupOrganizationalUnitOutputArgs) ElementType ¶ added in v6.3.0
func (LookupOrganizationalUnitOutputArgs) ElementType() reflect.Type
type LookupOrganizationalUnitResult ¶ added in v6.3.0
type LookupOrganizationalUnitResult struct { // ARN of the organizational unit Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` ParentId string `pulumi:"parentId"` }
A collection of values returned by getOrganizationalUnit.
func LookupOrganizationalUnit ¶ added in v6.3.0
func LookupOrganizationalUnit(ctx *pulumi.Context, args *LookupOrganizationalUnitArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationalUnitResult, error)
Data source for getting an AWS Organizations Organizational Unit.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { org, err := organizations.LookupOrganization(ctx, nil, nil) if err != nil { return err } _, err = organizations.LookupOrganizationalUnit(ctx, &organizations.LookupOrganizationalUnitArgs{ ParentId: org.Roots[0].Id, Name: "dev", }, nil) if err != nil { return err } return nil }) }
```
type LookupOrganizationalUnitResultOutput ¶ added in v6.3.0
type LookupOrganizationalUnitResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganizationalUnit.
func LookupOrganizationalUnitOutput ¶ added in v6.3.0
func LookupOrganizationalUnitOutput(ctx *pulumi.Context, args LookupOrganizationalUnitOutputArgs, opts ...pulumi.InvokeOption) LookupOrganizationalUnitResultOutput
func (LookupOrganizationalUnitResultOutput) Arn ¶ added in v6.3.0
func (o LookupOrganizationalUnitResultOutput) Arn() pulumi.StringOutput
ARN of the organizational unit
func (LookupOrganizationalUnitResultOutput) ElementType ¶ added in v6.3.0
func (LookupOrganizationalUnitResultOutput) ElementType() reflect.Type
func (LookupOrganizationalUnitResultOutput) Id ¶ added in v6.3.0
func (o LookupOrganizationalUnitResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupOrganizationalUnitResultOutput) Name ¶ added in v6.3.0
func (o LookupOrganizationalUnitResultOutput) Name() pulumi.StringOutput
func (LookupOrganizationalUnitResultOutput) ParentId ¶ added in v6.3.0
func (o LookupOrganizationalUnitResultOutput) ParentId() pulumi.StringOutput
func (LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutput ¶ added in v6.3.0
func (o LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutput() LookupOrganizationalUnitResultOutput
func (LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutputWithContext ¶ added in v6.3.0
func (o LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutputWithContext(ctx context.Context) LookupOrganizationalUnitResultOutput
type LookupPolicyArgs ¶
type LookupPolicyArgs struct { // The unique identifier (ID) of the policy that you want more details on. Policy id starts with a "p-" followed by 8-28 lowercase or uppercase letters, digits, and underscores. PolicyId string `pulumi:"policyId"` }
A collection of arguments for invoking getPolicy.
type LookupPolicyOutputArgs ¶
type LookupPolicyOutputArgs struct { // The unique identifier (ID) of the policy that you want more details on. Policy id starts with a "p-" followed by 8-28 lowercase or uppercase letters, digits, and underscores. PolicyId pulumi.StringInput `pulumi:"policyId"` }
A collection of arguments for invoking getPolicy.
func (LookupPolicyOutputArgs) ElementType ¶
func (LookupPolicyOutputArgs) ElementType() reflect.Type
type LookupPolicyResult ¶
type LookupPolicyResult struct { // The Amazon Resource Name of the policy. Arn string `pulumi:"arn"` // Indicates if a policy is an AWS managed policy. AwsManaged bool `pulumi:"awsManaged"` // The text content of the policy. Content string `pulumi:"content"` // The description of the policy. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The friendly name of the policy. Name string `pulumi:"name"` PolicyId string `pulumi:"policyId"` // The type of policy values can be `SERVICE_CONTROL_POLICY | TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY` Type string `pulumi:"type"` }
A collection of values returned by getPolicy.
func LookupPolicy ¶
func LookupPolicy(ctx *pulumi.Context, args *LookupPolicyArgs, opts ...pulumi.InvokeOption) (*LookupPolicyResult, error)
Data source for managing an AWS Organizations Policy.
## Example Usage
type LookupPolicyResultOutput ¶
type LookupPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicy.
func LookupPolicyOutput ¶
func LookupPolicyOutput(ctx *pulumi.Context, args LookupPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupPolicyResultOutput
func (LookupPolicyResultOutput) Arn ¶
func (o LookupPolicyResultOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of the policy.
func (LookupPolicyResultOutput) AwsManaged ¶
func (o LookupPolicyResultOutput) AwsManaged() pulumi.BoolOutput
Indicates if a policy is an AWS managed policy.
func (LookupPolicyResultOutput) Content ¶
func (o LookupPolicyResultOutput) Content() pulumi.StringOutput
The text content of the policy.
func (LookupPolicyResultOutput) Description ¶
func (o LookupPolicyResultOutput) Description() pulumi.StringOutput
The description of the policy.
func (LookupPolicyResultOutput) ElementType ¶
func (LookupPolicyResultOutput) ElementType() reflect.Type
func (LookupPolicyResultOutput) Id ¶
func (o LookupPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPolicyResultOutput) Name ¶
func (o LookupPolicyResultOutput) Name() pulumi.StringOutput
The friendly name of the policy.
func (LookupPolicyResultOutput) PolicyId ¶
func (o LookupPolicyResultOutput) PolicyId() pulumi.StringOutput
func (LookupPolicyResultOutput) ToLookupPolicyResultOutput ¶
func (o LookupPolicyResultOutput) ToLookupPolicyResultOutput() LookupPolicyResultOutput
func (LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext ¶
func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx context.Context) LookupPolicyResultOutput
func (LookupPolicyResultOutput) Type ¶
func (o LookupPolicyResultOutput) Type() pulumi.StringOutput
The type of policy values can be `SERVICE_CONTROL_POLICY | TAG_POLICY | BACKUP_POLICY | AISERVICES_OPT_OUT_POLICY`
type Organization ¶
type Organization struct { pulumi.CustomResourceState // List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes: Accounts OrganizationAccountArrayOutput `pulumi:"accounts"` // ARN of the root Arn pulumi.StringOutput `pulumi:"arn"` // 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 `featureSet` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). AwsServiceAccessPrincipals pulumi.StringArrayOutput `pulumi:"awsServiceAccessPrincipals"` // List of Organizations policy types to enable in the Organization Root. Organization must have `featureSet` 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](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html). EnabledPolicyTypes pulumi.StringArrayOutput `pulumi:"enabledPolicyTypes"` // Specify "ALL" (default) or "CONSOLIDATED_BILLING". FeatureSet pulumi.StringPtrOutput `pulumi:"featureSet"` // ARN of the master account MasterAccountArn pulumi.StringOutput `pulumi:"masterAccountArn"` // Email address of the master account MasterAccountEmail pulumi.StringOutput `pulumi:"masterAccountEmail"` // Identifier of the master account MasterAccountId pulumi.StringOutput `pulumi:"masterAccountId"` // Name of the master account MasterAccountName pulumi.StringOutput `pulumi:"masterAccountName"` // 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 OrganizationNonMasterAccountArrayOutput `pulumi:"nonMasterAccounts"` // List of organization roots. All elements have these attributes: Roots OrganizationRootArrayOutput `pulumi:"roots"` }
Provides a resource to create an organization.
!> **WARNING:** When migrating from a `featureSet` of `CONSOLIDATED_BILLING` to `ALL`, the Organization account owner will received an email stating the following: "You started the process to enable all features for your AWS organization. As part of that process, all member accounts that joined your organization by invitation must approve the change. You don’t need approval from member accounts that you directly created from within your AWS organization." After all member accounts have accepted the invitation, the Organization account owner must then finalize the changes via the [AWS Console](https://console.aws.amazon.com/organizations/home#/organization/settings/migration-progress). Until these steps are performed, the provider will perpetually show a difference, and the `DescribeOrganization` API will continue to show the `FeatureSet` as `CONSOLIDATED_BILLING`. See the [AWS Organizations documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) for more information.
!> **WARNING:** [Warning from the AWS Docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html): "We recommend that you enable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service."
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewOrganization(ctx, "org", &organizations.OrganizationArgs{ AwsServiceAccessPrincipals: pulumi.StringArray{ pulumi.String("cloudtrail.amazonaws.com"), pulumi.String("config.amazonaws.com"), }, FeatureSet: pulumi.String("ALL"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import the AWS organization using the `id`. For example:
```sh $ pulumi import aws:organizations/organization:Organization my_org o-1234567 ```
func GetOrganization ¶
func GetOrganization(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationState, opts ...pulumi.ResourceOption) (*Organization, error)
GetOrganization gets an existing Organization resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganization ¶
func NewOrganization(ctx *pulumi.Context, name string, args *OrganizationArgs, opts ...pulumi.ResourceOption) (*Organization, error)
NewOrganization registers a new resource with the given unique name, arguments, and options.
func (*Organization) ElementType ¶
func (*Organization) ElementType() reflect.Type
func (*Organization) ToOrganizationOutput ¶
func (i *Organization) ToOrganizationOutput() OrganizationOutput
func (*Organization) ToOrganizationOutputWithContext ¶
func (i *Organization) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
type OrganizationAccount ¶
type OrganizationAccount struct { // ARN of the root Arn *string `pulumi:"arn"` // Email of the account Email *string `pulumi:"email"` // Identifier of the root Id *string `pulumi:"id"` // The name of the policy type Name *string `pulumi:"name"` // The status of the policy type as it relates to the associated root Status *string `pulumi:"status"` }
type OrganizationAccountArgs ¶
type OrganizationAccountArgs struct { // ARN of the root Arn pulumi.StringPtrInput `pulumi:"arn"` // Email of the account Email pulumi.StringPtrInput `pulumi:"email"` // Identifier of the root Id pulumi.StringPtrInput `pulumi:"id"` // The name of the policy type Name pulumi.StringPtrInput `pulumi:"name"` // The status of the policy type as it relates to the associated root Status pulumi.StringPtrInput `pulumi:"status"` }
func (OrganizationAccountArgs) ElementType ¶
func (OrganizationAccountArgs) ElementType() reflect.Type
func (OrganizationAccountArgs) ToOrganizationAccountOutput ¶
func (i OrganizationAccountArgs) ToOrganizationAccountOutput() OrganizationAccountOutput
func (OrganizationAccountArgs) ToOrganizationAccountOutputWithContext ¶
func (i OrganizationAccountArgs) ToOrganizationAccountOutputWithContext(ctx context.Context) OrganizationAccountOutput
type OrganizationAccountArray ¶
type OrganizationAccountArray []OrganizationAccountInput
func (OrganizationAccountArray) ElementType ¶
func (OrganizationAccountArray) ElementType() reflect.Type
func (OrganizationAccountArray) ToOrganizationAccountArrayOutput ¶
func (i OrganizationAccountArray) ToOrganizationAccountArrayOutput() OrganizationAccountArrayOutput
func (OrganizationAccountArray) ToOrganizationAccountArrayOutputWithContext ¶
func (i OrganizationAccountArray) ToOrganizationAccountArrayOutputWithContext(ctx context.Context) OrganizationAccountArrayOutput
type OrganizationAccountArrayInput ¶
type OrganizationAccountArrayInput interface { pulumi.Input ToOrganizationAccountArrayOutput() OrganizationAccountArrayOutput ToOrganizationAccountArrayOutputWithContext(context.Context) OrganizationAccountArrayOutput }
OrganizationAccountArrayInput is an input type that accepts OrganizationAccountArray and OrganizationAccountArrayOutput values. You can construct a concrete instance of `OrganizationAccountArrayInput` via:
OrganizationAccountArray{ OrganizationAccountArgs{...} }
type OrganizationAccountArrayOutput ¶
type OrganizationAccountArrayOutput struct{ *pulumi.OutputState }
func (OrganizationAccountArrayOutput) ElementType ¶
func (OrganizationAccountArrayOutput) ElementType() reflect.Type
func (OrganizationAccountArrayOutput) Index ¶
func (o OrganizationAccountArrayOutput) Index(i pulumi.IntInput) OrganizationAccountOutput
func (OrganizationAccountArrayOutput) ToOrganizationAccountArrayOutput ¶
func (o OrganizationAccountArrayOutput) ToOrganizationAccountArrayOutput() OrganizationAccountArrayOutput
func (OrganizationAccountArrayOutput) ToOrganizationAccountArrayOutputWithContext ¶
func (o OrganizationAccountArrayOutput) ToOrganizationAccountArrayOutputWithContext(ctx context.Context) OrganizationAccountArrayOutput
type OrganizationAccountInput ¶
type OrganizationAccountInput interface { pulumi.Input ToOrganizationAccountOutput() OrganizationAccountOutput ToOrganizationAccountOutputWithContext(context.Context) OrganizationAccountOutput }
OrganizationAccountInput is an input type that accepts OrganizationAccountArgs and OrganizationAccountOutput values. You can construct a concrete instance of `OrganizationAccountInput` via:
OrganizationAccountArgs{...}
type OrganizationAccountOutput ¶
type OrganizationAccountOutput struct{ *pulumi.OutputState }
func (OrganizationAccountOutput) Arn ¶
func (o OrganizationAccountOutput) Arn() pulumi.StringPtrOutput
ARN of the root
func (OrganizationAccountOutput) ElementType ¶
func (OrganizationAccountOutput) ElementType() reflect.Type
func (OrganizationAccountOutput) Email ¶
func (o OrganizationAccountOutput) Email() pulumi.StringPtrOutput
Email of the account
func (OrganizationAccountOutput) Id ¶
func (o OrganizationAccountOutput) Id() pulumi.StringPtrOutput
Identifier of the root
func (OrganizationAccountOutput) Name ¶
func (o OrganizationAccountOutput) Name() pulumi.StringPtrOutput
The name of the policy type
func (OrganizationAccountOutput) Status ¶
func (o OrganizationAccountOutput) Status() pulumi.StringPtrOutput
The status of the policy type as it relates to the associated root
func (OrganizationAccountOutput) ToOrganizationAccountOutput ¶
func (o OrganizationAccountOutput) ToOrganizationAccountOutput() OrganizationAccountOutput
func (OrganizationAccountOutput) ToOrganizationAccountOutputWithContext ¶
func (o OrganizationAccountOutput) ToOrganizationAccountOutputWithContext(ctx context.Context) OrganizationAccountOutput
type OrganizationArgs ¶
type OrganizationArgs 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 `featureSet` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). AwsServiceAccessPrincipals pulumi.StringArrayInput // List of Organizations policy types to enable in the Organization Root. Organization must have `featureSet` 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](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html). EnabledPolicyTypes pulumi.StringArrayInput // Specify "ALL" (default) or "CONSOLIDATED_BILLING". FeatureSet pulumi.StringPtrInput }
The set of arguments for constructing a Organization resource.
func (OrganizationArgs) ElementType ¶
func (OrganizationArgs) ElementType() reflect.Type
type OrganizationArray ¶
type OrganizationArray []OrganizationInput
func (OrganizationArray) ElementType ¶
func (OrganizationArray) ElementType() reflect.Type
func (OrganizationArray) ToOrganizationArrayOutput ¶
func (i OrganizationArray) ToOrganizationArrayOutput() OrganizationArrayOutput
func (OrganizationArray) ToOrganizationArrayOutputWithContext ¶
func (i OrganizationArray) ToOrganizationArrayOutputWithContext(ctx context.Context) OrganizationArrayOutput
type OrganizationArrayInput ¶
type OrganizationArrayInput interface { pulumi.Input ToOrganizationArrayOutput() OrganizationArrayOutput ToOrganizationArrayOutputWithContext(context.Context) OrganizationArrayOutput }
OrganizationArrayInput is an input type that accepts OrganizationArray and OrganizationArrayOutput values. You can construct a concrete instance of `OrganizationArrayInput` via:
OrganizationArray{ OrganizationArgs{...} }
type OrganizationArrayOutput ¶
type OrganizationArrayOutput struct{ *pulumi.OutputState }
func (OrganizationArrayOutput) ElementType ¶
func (OrganizationArrayOutput) ElementType() reflect.Type
func (OrganizationArrayOutput) Index ¶
func (o OrganizationArrayOutput) Index(i pulumi.IntInput) OrganizationOutput
func (OrganizationArrayOutput) ToOrganizationArrayOutput ¶
func (o OrganizationArrayOutput) ToOrganizationArrayOutput() OrganizationArrayOutput
func (OrganizationArrayOutput) ToOrganizationArrayOutputWithContext ¶
func (o OrganizationArrayOutput) ToOrganizationArrayOutputWithContext(ctx context.Context) OrganizationArrayOutput
type OrganizationInput ¶
type OrganizationInput interface { pulumi.Input ToOrganizationOutput() OrganizationOutput ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput }
type OrganizationMap ¶
type OrganizationMap map[string]OrganizationInput
func (OrganizationMap) ElementType ¶
func (OrganizationMap) ElementType() reflect.Type
func (OrganizationMap) ToOrganizationMapOutput ¶
func (i OrganizationMap) ToOrganizationMapOutput() OrganizationMapOutput
func (OrganizationMap) ToOrganizationMapOutputWithContext ¶
func (i OrganizationMap) ToOrganizationMapOutputWithContext(ctx context.Context) OrganizationMapOutput
type OrganizationMapInput ¶
type OrganizationMapInput interface { pulumi.Input ToOrganizationMapOutput() OrganizationMapOutput ToOrganizationMapOutputWithContext(context.Context) OrganizationMapOutput }
OrganizationMapInput is an input type that accepts OrganizationMap and OrganizationMapOutput values. You can construct a concrete instance of `OrganizationMapInput` via:
OrganizationMap{ "key": OrganizationArgs{...} }
type OrganizationMapOutput ¶
type OrganizationMapOutput struct{ *pulumi.OutputState }
func (OrganizationMapOutput) ElementType ¶
func (OrganizationMapOutput) ElementType() reflect.Type
func (OrganizationMapOutput) MapIndex ¶
func (o OrganizationMapOutput) MapIndex(k pulumi.StringInput) OrganizationOutput
func (OrganizationMapOutput) ToOrganizationMapOutput ¶
func (o OrganizationMapOutput) ToOrganizationMapOutput() OrganizationMapOutput
func (OrganizationMapOutput) ToOrganizationMapOutputWithContext ¶
func (o OrganizationMapOutput) ToOrganizationMapOutputWithContext(ctx context.Context) OrganizationMapOutput
type OrganizationNonMasterAccount ¶
type OrganizationNonMasterAccount struct { // ARN of the root Arn *string `pulumi:"arn"` // Email of the account Email *string `pulumi:"email"` // Identifier of the root Id *string `pulumi:"id"` // The name of the policy type Name *string `pulumi:"name"` // The status of the policy type as it relates to the associated root Status *string `pulumi:"status"` }
type OrganizationNonMasterAccountArgs ¶
type OrganizationNonMasterAccountArgs struct { // ARN of the root Arn pulumi.StringPtrInput `pulumi:"arn"` // Email of the account Email pulumi.StringPtrInput `pulumi:"email"` // Identifier of the root Id pulumi.StringPtrInput `pulumi:"id"` // The name of the policy type Name pulumi.StringPtrInput `pulumi:"name"` // The status of the policy type as it relates to the associated root Status pulumi.StringPtrInput `pulumi:"status"` }
func (OrganizationNonMasterAccountArgs) ElementType ¶
func (OrganizationNonMasterAccountArgs) ElementType() reflect.Type
func (OrganizationNonMasterAccountArgs) ToOrganizationNonMasterAccountOutput ¶
func (i OrganizationNonMasterAccountArgs) ToOrganizationNonMasterAccountOutput() OrganizationNonMasterAccountOutput
func (OrganizationNonMasterAccountArgs) ToOrganizationNonMasterAccountOutputWithContext ¶
func (i OrganizationNonMasterAccountArgs) ToOrganizationNonMasterAccountOutputWithContext(ctx context.Context) OrganizationNonMasterAccountOutput
type OrganizationNonMasterAccountArray ¶
type OrganizationNonMasterAccountArray []OrganizationNonMasterAccountInput
func (OrganizationNonMasterAccountArray) ElementType ¶
func (OrganizationNonMasterAccountArray) ElementType() reflect.Type
func (OrganizationNonMasterAccountArray) ToOrganizationNonMasterAccountArrayOutput ¶
func (i OrganizationNonMasterAccountArray) ToOrganizationNonMasterAccountArrayOutput() OrganizationNonMasterAccountArrayOutput
func (OrganizationNonMasterAccountArray) ToOrganizationNonMasterAccountArrayOutputWithContext ¶
func (i OrganizationNonMasterAccountArray) ToOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) OrganizationNonMasterAccountArrayOutput
type OrganizationNonMasterAccountArrayInput ¶
type OrganizationNonMasterAccountArrayInput interface { pulumi.Input ToOrganizationNonMasterAccountArrayOutput() OrganizationNonMasterAccountArrayOutput ToOrganizationNonMasterAccountArrayOutputWithContext(context.Context) OrganizationNonMasterAccountArrayOutput }
OrganizationNonMasterAccountArrayInput is an input type that accepts OrganizationNonMasterAccountArray and OrganizationNonMasterAccountArrayOutput values. You can construct a concrete instance of `OrganizationNonMasterAccountArrayInput` via:
OrganizationNonMasterAccountArray{ OrganizationNonMasterAccountArgs{...} }
type OrganizationNonMasterAccountArrayOutput ¶
type OrganizationNonMasterAccountArrayOutput struct{ *pulumi.OutputState }
func (OrganizationNonMasterAccountArrayOutput) ElementType ¶
func (OrganizationNonMasterAccountArrayOutput) ElementType() reflect.Type
func (OrganizationNonMasterAccountArrayOutput) ToOrganizationNonMasterAccountArrayOutput ¶
func (o OrganizationNonMasterAccountArrayOutput) ToOrganizationNonMasterAccountArrayOutput() OrganizationNonMasterAccountArrayOutput
func (OrganizationNonMasterAccountArrayOutput) ToOrganizationNonMasterAccountArrayOutputWithContext ¶
func (o OrganizationNonMasterAccountArrayOutput) ToOrganizationNonMasterAccountArrayOutputWithContext(ctx context.Context) OrganizationNonMasterAccountArrayOutput
type OrganizationNonMasterAccountInput ¶
type OrganizationNonMasterAccountInput interface { pulumi.Input ToOrganizationNonMasterAccountOutput() OrganizationNonMasterAccountOutput ToOrganizationNonMasterAccountOutputWithContext(context.Context) OrganizationNonMasterAccountOutput }
OrganizationNonMasterAccountInput is an input type that accepts OrganizationNonMasterAccountArgs and OrganizationNonMasterAccountOutput values. You can construct a concrete instance of `OrganizationNonMasterAccountInput` via:
OrganizationNonMasterAccountArgs{...}
type OrganizationNonMasterAccountOutput ¶
type OrganizationNonMasterAccountOutput struct{ *pulumi.OutputState }
func (OrganizationNonMasterAccountOutput) Arn ¶
func (o OrganizationNonMasterAccountOutput) Arn() pulumi.StringPtrOutput
ARN of the root
func (OrganizationNonMasterAccountOutput) ElementType ¶
func (OrganizationNonMasterAccountOutput) ElementType() reflect.Type
func (OrganizationNonMasterAccountOutput) Email ¶
func (o OrganizationNonMasterAccountOutput) Email() pulumi.StringPtrOutput
Email of the account
func (OrganizationNonMasterAccountOutput) Id ¶
func (o OrganizationNonMasterAccountOutput) Id() pulumi.StringPtrOutput
Identifier of the root
func (OrganizationNonMasterAccountOutput) Name ¶
func (o OrganizationNonMasterAccountOutput) Name() pulumi.StringPtrOutput
The name of the policy type
func (OrganizationNonMasterAccountOutput) Status ¶
func (o OrganizationNonMasterAccountOutput) Status() pulumi.StringPtrOutput
The status of the policy type as it relates to the associated root
func (OrganizationNonMasterAccountOutput) ToOrganizationNonMasterAccountOutput ¶
func (o OrganizationNonMasterAccountOutput) ToOrganizationNonMasterAccountOutput() OrganizationNonMasterAccountOutput
func (OrganizationNonMasterAccountOutput) ToOrganizationNonMasterAccountOutputWithContext ¶
func (o OrganizationNonMasterAccountOutput) ToOrganizationNonMasterAccountOutputWithContext(ctx context.Context) OrganizationNonMasterAccountOutput
type OrganizationOutput ¶
type OrganizationOutput struct{ *pulumi.OutputState }
func (OrganizationOutput) Accounts ¶
func (o OrganizationOutput) Accounts() OrganizationAccountArrayOutput
List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes:
func (OrganizationOutput) Arn ¶
func (o OrganizationOutput) Arn() pulumi.StringOutput
ARN of the root
func (OrganizationOutput) AwsServiceAccessPrincipals ¶
func (o OrganizationOutput) AwsServiceAccessPrincipals() pulumi.StringArrayOutput
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 `featureSet` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
func (OrganizationOutput) ElementType ¶
func (OrganizationOutput) ElementType() reflect.Type
func (OrganizationOutput) EnabledPolicyTypes ¶
func (o OrganizationOutput) EnabledPolicyTypes() pulumi.StringArrayOutput
List of Organizations policy types to enable in the Organization Root. Organization must have `featureSet` 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](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
func (OrganizationOutput) FeatureSet ¶
func (o OrganizationOutput) FeatureSet() pulumi.StringPtrOutput
Specify "ALL" (default) or "CONSOLIDATED_BILLING".
func (OrganizationOutput) MasterAccountArn ¶
func (o OrganizationOutput) MasterAccountArn() pulumi.StringOutput
ARN of the master account
func (OrganizationOutput) MasterAccountEmail ¶
func (o OrganizationOutput) MasterAccountEmail() pulumi.StringOutput
Email address of the master account
func (OrganizationOutput) MasterAccountId ¶
func (o OrganizationOutput) MasterAccountId() pulumi.StringOutput
Identifier of the master account
func (OrganizationOutput) MasterAccountName ¶ added in v6.32.0
func (o OrganizationOutput) MasterAccountName() pulumi.StringOutput
Name of the master account
func (OrganizationOutput) NonMasterAccounts ¶
func (o OrganizationOutput) NonMasterAccounts() OrganizationNonMasterAccountArrayOutput
List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
func (OrganizationOutput) Roots ¶
func (o OrganizationOutput) Roots() OrganizationRootArrayOutput
List of organization roots. All elements have these attributes:
func (OrganizationOutput) ToOrganizationOutput ¶
func (o OrganizationOutput) ToOrganizationOutput() OrganizationOutput
func (OrganizationOutput) ToOrganizationOutputWithContext ¶
func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
type OrganizationRoot ¶
type OrganizationRoot struct { // ARN of the root Arn *string `pulumi:"arn"` // Identifier of the root Id *string `pulumi:"id"` // The name of the policy type Name *string `pulumi:"name"` // List of policy types enabled for this root. All elements have these attributes: PolicyTypes []OrganizationRootPolicyType `pulumi:"policyTypes"` }
type OrganizationRootArgs ¶
type OrganizationRootArgs struct { // ARN of the root Arn pulumi.StringPtrInput `pulumi:"arn"` // Identifier of the root Id pulumi.StringPtrInput `pulumi:"id"` // The name of the policy type Name pulumi.StringPtrInput `pulumi:"name"` // List of policy types enabled for this root. All elements have these attributes: PolicyTypes OrganizationRootPolicyTypeArrayInput `pulumi:"policyTypes"` }
func (OrganizationRootArgs) ElementType ¶
func (OrganizationRootArgs) ElementType() reflect.Type
func (OrganizationRootArgs) ToOrganizationRootOutput ¶
func (i OrganizationRootArgs) ToOrganizationRootOutput() OrganizationRootOutput
func (OrganizationRootArgs) ToOrganizationRootOutputWithContext ¶
func (i OrganizationRootArgs) ToOrganizationRootOutputWithContext(ctx context.Context) OrganizationRootOutput
type OrganizationRootArray ¶
type OrganizationRootArray []OrganizationRootInput
func (OrganizationRootArray) ElementType ¶
func (OrganizationRootArray) ElementType() reflect.Type
func (OrganizationRootArray) ToOrganizationRootArrayOutput ¶
func (i OrganizationRootArray) ToOrganizationRootArrayOutput() OrganizationRootArrayOutput
func (OrganizationRootArray) ToOrganizationRootArrayOutputWithContext ¶
func (i OrganizationRootArray) ToOrganizationRootArrayOutputWithContext(ctx context.Context) OrganizationRootArrayOutput
type OrganizationRootArrayInput ¶
type OrganizationRootArrayInput interface { pulumi.Input ToOrganizationRootArrayOutput() OrganizationRootArrayOutput ToOrganizationRootArrayOutputWithContext(context.Context) OrganizationRootArrayOutput }
OrganizationRootArrayInput is an input type that accepts OrganizationRootArray and OrganizationRootArrayOutput values. You can construct a concrete instance of `OrganizationRootArrayInput` via:
OrganizationRootArray{ OrganizationRootArgs{...} }
type OrganizationRootArrayOutput ¶
type OrganizationRootArrayOutput struct{ *pulumi.OutputState }
func (OrganizationRootArrayOutput) ElementType ¶
func (OrganizationRootArrayOutput) ElementType() reflect.Type
func (OrganizationRootArrayOutput) Index ¶
func (o OrganizationRootArrayOutput) Index(i pulumi.IntInput) OrganizationRootOutput
func (OrganizationRootArrayOutput) ToOrganizationRootArrayOutput ¶
func (o OrganizationRootArrayOutput) ToOrganizationRootArrayOutput() OrganizationRootArrayOutput
func (OrganizationRootArrayOutput) ToOrganizationRootArrayOutputWithContext ¶
func (o OrganizationRootArrayOutput) ToOrganizationRootArrayOutputWithContext(ctx context.Context) OrganizationRootArrayOutput
type OrganizationRootInput ¶
type OrganizationRootInput interface { pulumi.Input ToOrganizationRootOutput() OrganizationRootOutput ToOrganizationRootOutputWithContext(context.Context) OrganizationRootOutput }
OrganizationRootInput is an input type that accepts OrganizationRootArgs and OrganizationRootOutput values. You can construct a concrete instance of `OrganizationRootInput` via:
OrganizationRootArgs{...}
type OrganizationRootOutput ¶
type OrganizationRootOutput struct{ *pulumi.OutputState }
func (OrganizationRootOutput) Arn ¶
func (o OrganizationRootOutput) Arn() pulumi.StringPtrOutput
ARN of the root
func (OrganizationRootOutput) ElementType ¶
func (OrganizationRootOutput) ElementType() reflect.Type
func (OrganizationRootOutput) Id ¶
func (o OrganizationRootOutput) Id() pulumi.StringPtrOutput
Identifier of the root
func (OrganizationRootOutput) Name ¶
func (o OrganizationRootOutput) Name() pulumi.StringPtrOutput
The name of the policy type
func (OrganizationRootOutput) PolicyTypes ¶
func (o OrganizationRootOutput) PolicyTypes() OrganizationRootPolicyTypeArrayOutput
List of policy types enabled for this root. All elements have these attributes:
func (OrganizationRootOutput) ToOrganizationRootOutput ¶
func (o OrganizationRootOutput) ToOrganizationRootOutput() OrganizationRootOutput
func (OrganizationRootOutput) ToOrganizationRootOutputWithContext ¶
func (o OrganizationRootOutput) ToOrganizationRootOutputWithContext(ctx context.Context) OrganizationRootOutput
type OrganizationRootPolicyTypeArgs ¶
type OrganizationRootPolicyTypeArgs struct { // The status of the policy type as it relates to the associated root Status pulumi.StringPtrInput `pulumi:"status"` Type pulumi.StringPtrInput `pulumi:"type"` }
func (OrganizationRootPolicyTypeArgs) ElementType ¶
func (OrganizationRootPolicyTypeArgs) ElementType() reflect.Type
func (OrganizationRootPolicyTypeArgs) ToOrganizationRootPolicyTypeOutput ¶
func (i OrganizationRootPolicyTypeArgs) ToOrganizationRootPolicyTypeOutput() OrganizationRootPolicyTypeOutput
func (OrganizationRootPolicyTypeArgs) ToOrganizationRootPolicyTypeOutputWithContext ¶
func (i OrganizationRootPolicyTypeArgs) ToOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeOutput
type OrganizationRootPolicyTypeArray ¶
type OrganizationRootPolicyTypeArray []OrganizationRootPolicyTypeInput
func (OrganizationRootPolicyTypeArray) ElementType ¶
func (OrganizationRootPolicyTypeArray) ElementType() reflect.Type
func (OrganizationRootPolicyTypeArray) ToOrganizationRootPolicyTypeArrayOutput ¶
func (i OrganizationRootPolicyTypeArray) ToOrganizationRootPolicyTypeArrayOutput() OrganizationRootPolicyTypeArrayOutput
func (OrganizationRootPolicyTypeArray) ToOrganizationRootPolicyTypeArrayOutputWithContext ¶
func (i OrganizationRootPolicyTypeArray) ToOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeArrayOutput
type OrganizationRootPolicyTypeArrayInput ¶
type OrganizationRootPolicyTypeArrayInput interface { pulumi.Input ToOrganizationRootPolicyTypeArrayOutput() OrganizationRootPolicyTypeArrayOutput ToOrganizationRootPolicyTypeArrayOutputWithContext(context.Context) OrganizationRootPolicyTypeArrayOutput }
OrganizationRootPolicyTypeArrayInput is an input type that accepts OrganizationRootPolicyTypeArray and OrganizationRootPolicyTypeArrayOutput values. You can construct a concrete instance of `OrganizationRootPolicyTypeArrayInput` via:
OrganizationRootPolicyTypeArray{ OrganizationRootPolicyTypeArgs{...} }
type OrganizationRootPolicyTypeArrayOutput ¶
type OrganizationRootPolicyTypeArrayOutput struct{ *pulumi.OutputState }
func (OrganizationRootPolicyTypeArrayOutput) ElementType ¶
func (OrganizationRootPolicyTypeArrayOutput) ElementType() reflect.Type
func (OrganizationRootPolicyTypeArrayOutput) Index ¶
func (o OrganizationRootPolicyTypeArrayOutput) Index(i pulumi.IntInput) OrganizationRootPolicyTypeOutput
func (OrganizationRootPolicyTypeArrayOutput) ToOrganizationRootPolicyTypeArrayOutput ¶
func (o OrganizationRootPolicyTypeArrayOutput) ToOrganizationRootPolicyTypeArrayOutput() OrganizationRootPolicyTypeArrayOutput
func (OrganizationRootPolicyTypeArrayOutput) ToOrganizationRootPolicyTypeArrayOutputWithContext ¶
func (o OrganizationRootPolicyTypeArrayOutput) ToOrganizationRootPolicyTypeArrayOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeArrayOutput
type OrganizationRootPolicyTypeInput ¶
type OrganizationRootPolicyTypeInput interface { pulumi.Input ToOrganizationRootPolicyTypeOutput() OrganizationRootPolicyTypeOutput ToOrganizationRootPolicyTypeOutputWithContext(context.Context) OrganizationRootPolicyTypeOutput }
OrganizationRootPolicyTypeInput is an input type that accepts OrganizationRootPolicyTypeArgs and OrganizationRootPolicyTypeOutput values. You can construct a concrete instance of `OrganizationRootPolicyTypeInput` via:
OrganizationRootPolicyTypeArgs{...}
type OrganizationRootPolicyTypeOutput ¶
type OrganizationRootPolicyTypeOutput struct{ *pulumi.OutputState }
func (OrganizationRootPolicyTypeOutput) ElementType ¶
func (OrganizationRootPolicyTypeOutput) ElementType() reflect.Type
func (OrganizationRootPolicyTypeOutput) Status ¶
func (o OrganizationRootPolicyTypeOutput) Status() pulumi.StringPtrOutput
The status of the policy type as it relates to the associated root
func (OrganizationRootPolicyTypeOutput) ToOrganizationRootPolicyTypeOutput ¶
func (o OrganizationRootPolicyTypeOutput) ToOrganizationRootPolicyTypeOutput() OrganizationRootPolicyTypeOutput
func (OrganizationRootPolicyTypeOutput) ToOrganizationRootPolicyTypeOutputWithContext ¶
func (o OrganizationRootPolicyTypeOutput) ToOrganizationRootPolicyTypeOutputWithContext(ctx context.Context) OrganizationRootPolicyTypeOutput
func (OrganizationRootPolicyTypeOutput) Type ¶
func (o OrganizationRootPolicyTypeOutput) Type() pulumi.StringPtrOutput
type OrganizationState ¶
type OrganizationState struct { // List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes: Accounts OrganizationAccountArrayInput // ARN of the root Arn pulumi.StringPtrInput // 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 `featureSet` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). AwsServiceAccessPrincipals pulumi.StringArrayInput // List of Organizations policy types to enable in the Organization Root. Organization must have `featureSet` 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](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html). EnabledPolicyTypes pulumi.StringArrayInput // Specify "ALL" (default) or "CONSOLIDATED_BILLING". FeatureSet pulumi.StringPtrInput // ARN of the master account MasterAccountArn pulumi.StringPtrInput // Email address of the master account MasterAccountEmail pulumi.StringPtrInput // Identifier of the master account MasterAccountId pulumi.StringPtrInput // Name of the master account MasterAccountName pulumi.StringPtrInput // 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 OrganizationNonMasterAccountArrayInput // List of organization roots. All elements have these attributes: Roots OrganizationRootArrayInput }
func (OrganizationState) ElementType ¶
func (OrganizationState) ElementType() reflect.Type
type OrganizationalUnit ¶
type OrganizationalUnit struct { pulumi.CustomResourceState // List of child accounts for this Organizational Unit. Does not return account information for child Organizational Units. All elements have these attributes: Accounts OrganizationalUnitAccountArrayOutput `pulumi:"accounts"` // ARN of the organizational unit Arn pulumi.StringOutput `pulumi:"arn"` // The name for the organizational unit Name pulumi.StringOutput `pulumi:"name"` // ID of the parent organizational unit, which may be the root ParentId pulumi.StringOutput `pulumi:"parentId"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to create an organizational unit.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewOrganizationalUnit(ctx, "example", &organizations.OrganizationalUnitArgs{ Name: pulumi.String("example"), ParentId: pulumi.Any(exampleAwsOrganizationsOrganization.Roots[0].Id), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import AWS Organizations Organizational Units using the `id`. For example:
```sh $ pulumi import aws:organizations/organizationalUnit:OrganizationalUnit example ou-1234567 ```
func GetOrganizationalUnit ¶
func GetOrganizationalUnit(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationalUnitState, opts ...pulumi.ResourceOption) (*OrganizationalUnit, error)
GetOrganizationalUnit gets an existing OrganizationalUnit resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationalUnit ¶
func NewOrganizationalUnit(ctx *pulumi.Context, name string, args *OrganizationalUnitArgs, opts ...pulumi.ResourceOption) (*OrganizationalUnit, error)
NewOrganizationalUnit registers a new resource with the given unique name, arguments, and options.
func (*OrganizationalUnit) ElementType ¶
func (*OrganizationalUnit) ElementType() reflect.Type
func (*OrganizationalUnit) ToOrganizationalUnitOutput ¶
func (i *OrganizationalUnit) ToOrganizationalUnitOutput() OrganizationalUnitOutput
func (*OrganizationalUnit) ToOrganizationalUnitOutputWithContext ¶
func (i *OrganizationalUnit) ToOrganizationalUnitOutputWithContext(ctx context.Context) OrganizationalUnitOutput
type OrganizationalUnitAccountArgs ¶
type OrganizationalUnitAccountArgs struct { // ARN of the organizational unit Arn pulumi.StringPtrInput `pulumi:"arn"` // Email of the account Email pulumi.StringPtrInput `pulumi:"email"` // Identifier of the organization unit Id pulumi.StringPtrInput `pulumi:"id"` // The name for the organizational unit Name pulumi.StringPtrInput `pulumi:"name"` }
func (OrganizationalUnitAccountArgs) ElementType ¶
func (OrganizationalUnitAccountArgs) ElementType() reflect.Type
func (OrganizationalUnitAccountArgs) ToOrganizationalUnitAccountOutput ¶
func (i OrganizationalUnitAccountArgs) ToOrganizationalUnitAccountOutput() OrganizationalUnitAccountOutput
func (OrganizationalUnitAccountArgs) ToOrganizationalUnitAccountOutputWithContext ¶
func (i OrganizationalUnitAccountArgs) ToOrganizationalUnitAccountOutputWithContext(ctx context.Context) OrganizationalUnitAccountOutput
type OrganizationalUnitAccountArray ¶
type OrganizationalUnitAccountArray []OrganizationalUnitAccountInput
func (OrganizationalUnitAccountArray) ElementType ¶
func (OrganizationalUnitAccountArray) ElementType() reflect.Type
func (OrganizationalUnitAccountArray) ToOrganizationalUnitAccountArrayOutput ¶
func (i OrganizationalUnitAccountArray) ToOrganizationalUnitAccountArrayOutput() OrganizationalUnitAccountArrayOutput
func (OrganizationalUnitAccountArray) ToOrganizationalUnitAccountArrayOutputWithContext ¶
func (i OrganizationalUnitAccountArray) ToOrganizationalUnitAccountArrayOutputWithContext(ctx context.Context) OrganizationalUnitAccountArrayOutput
type OrganizationalUnitAccountArrayInput ¶
type OrganizationalUnitAccountArrayInput interface { pulumi.Input ToOrganizationalUnitAccountArrayOutput() OrganizationalUnitAccountArrayOutput ToOrganizationalUnitAccountArrayOutputWithContext(context.Context) OrganizationalUnitAccountArrayOutput }
OrganizationalUnitAccountArrayInput is an input type that accepts OrganizationalUnitAccountArray and OrganizationalUnitAccountArrayOutput values. You can construct a concrete instance of `OrganizationalUnitAccountArrayInput` via:
OrganizationalUnitAccountArray{ OrganizationalUnitAccountArgs{...} }
type OrganizationalUnitAccountArrayOutput ¶
type OrganizationalUnitAccountArrayOutput struct{ *pulumi.OutputState }
func (OrganizationalUnitAccountArrayOutput) ElementType ¶
func (OrganizationalUnitAccountArrayOutput) ElementType() reflect.Type
func (OrganizationalUnitAccountArrayOutput) Index ¶
func (o OrganizationalUnitAccountArrayOutput) Index(i pulumi.IntInput) OrganizationalUnitAccountOutput
func (OrganizationalUnitAccountArrayOutput) ToOrganizationalUnitAccountArrayOutput ¶
func (o OrganizationalUnitAccountArrayOutput) ToOrganizationalUnitAccountArrayOutput() OrganizationalUnitAccountArrayOutput
func (OrganizationalUnitAccountArrayOutput) ToOrganizationalUnitAccountArrayOutputWithContext ¶
func (o OrganizationalUnitAccountArrayOutput) ToOrganizationalUnitAccountArrayOutputWithContext(ctx context.Context) OrganizationalUnitAccountArrayOutput
type OrganizationalUnitAccountInput ¶
type OrganizationalUnitAccountInput interface { pulumi.Input ToOrganizationalUnitAccountOutput() OrganizationalUnitAccountOutput ToOrganizationalUnitAccountOutputWithContext(context.Context) OrganizationalUnitAccountOutput }
OrganizationalUnitAccountInput is an input type that accepts OrganizationalUnitAccountArgs and OrganizationalUnitAccountOutput values. You can construct a concrete instance of `OrganizationalUnitAccountInput` via:
OrganizationalUnitAccountArgs{...}
type OrganizationalUnitAccountOutput ¶
type OrganizationalUnitAccountOutput struct{ *pulumi.OutputState }
func (OrganizationalUnitAccountOutput) Arn ¶
func (o OrganizationalUnitAccountOutput) Arn() pulumi.StringPtrOutput
ARN of the organizational unit
func (OrganizationalUnitAccountOutput) ElementType ¶
func (OrganizationalUnitAccountOutput) ElementType() reflect.Type
func (OrganizationalUnitAccountOutput) Email ¶
func (o OrganizationalUnitAccountOutput) Email() pulumi.StringPtrOutput
Email of the account
func (OrganizationalUnitAccountOutput) Id ¶
func (o OrganizationalUnitAccountOutput) Id() pulumi.StringPtrOutput
Identifier of the organization unit
func (OrganizationalUnitAccountOutput) Name ¶
func (o OrganizationalUnitAccountOutput) Name() pulumi.StringPtrOutput
The name for the organizational unit
func (OrganizationalUnitAccountOutput) ToOrganizationalUnitAccountOutput ¶
func (o OrganizationalUnitAccountOutput) ToOrganizationalUnitAccountOutput() OrganizationalUnitAccountOutput
func (OrganizationalUnitAccountOutput) ToOrganizationalUnitAccountOutputWithContext ¶
func (o OrganizationalUnitAccountOutput) ToOrganizationalUnitAccountOutputWithContext(ctx context.Context) OrganizationalUnitAccountOutput
type OrganizationalUnitArgs ¶
type OrganizationalUnitArgs struct { // The name for the organizational unit Name pulumi.StringPtrInput // ID of the parent organizational unit, which may be the root ParentId pulumi.StringInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a OrganizationalUnit resource.
func (OrganizationalUnitArgs) ElementType ¶
func (OrganizationalUnitArgs) ElementType() reflect.Type
type OrganizationalUnitArray ¶
type OrganizationalUnitArray []OrganizationalUnitInput
func (OrganizationalUnitArray) ElementType ¶
func (OrganizationalUnitArray) ElementType() reflect.Type
func (OrganizationalUnitArray) ToOrganizationalUnitArrayOutput ¶
func (i OrganizationalUnitArray) ToOrganizationalUnitArrayOutput() OrganizationalUnitArrayOutput
func (OrganizationalUnitArray) ToOrganizationalUnitArrayOutputWithContext ¶
func (i OrganizationalUnitArray) ToOrganizationalUnitArrayOutputWithContext(ctx context.Context) OrganizationalUnitArrayOutput
type OrganizationalUnitArrayInput ¶
type OrganizationalUnitArrayInput interface { pulumi.Input ToOrganizationalUnitArrayOutput() OrganizationalUnitArrayOutput ToOrganizationalUnitArrayOutputWithContext(context.Context) OrganizationalUnitArrayOutput }
OrganizationalUnitArrayInput is an input type that accepts OrganizationalUnitArray and OrganizationalUnitArrayOutput values. You can construct a concrete instance of `OrganizationalUnitArrayInput` via:
OrganizationalUnitArray{ OrganizationalUnitArgs{...} }
type OrganizationalUnitArrayOutput ¶
type OrganizationalUnitArrayOutput struct{ *pulumi.OutputState }
func (OrganizationalUnitArrayOutput) ElementType ¶
func (OrganizationalUnitArrayOutput) ElementType() reflect.Type
func (OrganizationalUnitArrayOutput) Index ¶
func (o OrganizationalUnitArrayOutput) Index(i pulumi.IntInput) OrganizationalUnitOutput
func (OrganizationalUnitArrayOutput) ToOrganizationalUnitArrayOutput ¶
func (o OrganizationalUnitArrayOutput) ToOrganizationalUnitArrayOutput() OrganizationalUnitArrayOutput
func (OrganizationalUnitArrayOutput) ToOrganizationalUnitArrayOutputWithContext ¶
func (o OrganizationalUnitArrayOutput) ToOrganizationalUnitArrayOutputWithContext(ctx context.Context) OrganizationalUnitArrayOutput
type OrganizationalUnitInput ¶
type OrganizationalUnitInput interface { pulumi.Input ToOrganizationalUnitOutput() OrganizationalUnitOutput ToOrganizationalUnitOutputWithContext(ctx context.Context) OrganizationalUnitOutput }
type OrganizationalUnitMap ¶
type OrganizationalUnitMap map[string]OrganizationalUnitInput
func (OrganizationalUnitMap) ElementType ¶
func (OrganizationalUnitMap) ElementType() reflect.Type
func (OrganizationalUnitMap) ToOrganizationalUnitMapOutput ¶
func (i OrganizationalUnitMap) ToOrganizationalUnitMapOutput() OrganizationalUnitMapOutput
func (OrganizationalUnitMap) ToOrganizationalUnitMapOutputWithContext ¶
func (i OrganizationalUnitMap) ToOrganizationalUnitMapOutputWithContext(ctx context.Context) OrganizationalUnitMapOutput
type OrganizationalUnitMapInput ¶
type OrganizationalUnitMapInput interface { pulumi.Input ToOrganizationalUnitMapOutput() OrganizationalUnitMapOutput ToOrganizationalUnitMapOutputWithContext(context.Context) OrganizationalUnitMapOutput }
OrganizationalUnitMapInput is an input type that accepts OrganizationalUnitMap and OrganizationalUnitMapOutput values. You can construct a concrete instance of `OrganizationalUnitMapInput` via:
OrganizationalUnitMap{ "key": OrganizationalUnitArgs{...} }
type OrganizationalUnitMapOutput ¶
type OrganizationalUnitMapOutput struct{ *pulumi.OutputState }
func (OrganizationalUnitMapOutput) ElementType ¶
func (OrganizationalUnitMapOutput) ElementType() reflect.Type
func (OrganizationalUnitMapOutput) MapIndex ¶
func (o OrganizationalUnitMapOutput) MapIndex(k pulumi.StringInput) OrganizationalUnitOutput
func (OrganizationalUnitMapOutput) ToOrganizationalUnitMapOutput ¶
func (o OrganizationalUnitMapOutput) ToOrganizationalUnitMapOutput() OrganizationalUnitMapOutput
func (OrganizationalUnitMapOutput) ToOrganizationalUnitMapOutputWithContext ¶
func (o OrganizationalUnitMapOutput) ToOrganizationalUnitMapOutputWithContext(ctx context.Context) OrganizationalUnitMapOutput
type OrganizationalUnitOutput ¶
type OrganizationalUnitOutput struct{ *pulumi.OutputState }
func (OrganizationalUnitOutput) Accounts ¶
func (o OrganizationalUnitOutput) Accounts() OrganizationalUnitAccountArrayOutput
List of child accounts for this Organizational Unit. Does not return account information for child Organizational Units. All elements have these attributes:
func (OrganizationalUnitOutput) Arn ¶
func (o OrganizationalUnitOutput) Arn() pulumi.StringOutput
ARN of the organizational unit
func (OrganizationalUnitOutput) ElementType ¶
func (OrganizationalUnitOutput) ElementType() reflect.Type
func (OrganizationalUnitOutput) Name ¶
func (o OrganizationalUnitOutput) Name() pulumi.StringOutput
The name for the organizational unit
func (OrganizationalUnitOutput) ParentId ¶
func (o OrganizationalUnitOutput) ParentId() pulumi.StringOutput
ID of the parent organizational unit, which may be the root
func (OrganizationalUnitOutput) Tags ¶
func (o OrganizationalUnitOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (OrganizationalUnitOutput) TagsAll
deprecated
func (o OrganizationalUnitOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (OrganizationalUnitOutput) ToOrganizationalUnitOutput ¶
func (o OrganizationalUnitOutput) ToOrganizationalUnitOutput() OrganizationalUnitOutput
func (OrganizationalUnitOutput) ToOrganizationalUnitOutputWithContext ¶
func (o OrganizationalUnitOutput) ToOrganizationalUnitOutputWithContext(ctx context.Context) OrganizationalUnitOutput
type OrganizationalUnitState ¶
type OrganizationalUnitState struct { // List of child accounts for this Organizational Unit. Does not return account information for child Organizational Units. All elements have these attributes: Accounts OrganizationalUnitAccountArrayInput // ARN of the organizational unit Arn pulumi.StringPtrInput // The name for the organizational unit Name pulumi.StringPtrInput // ID of the parent organizational unit, which may be the root ParentId pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (OrganizationalUnitState) ElementType ¶
func (OrganizationalUnitState) ElementType() reflect.Type
type Policy ¶
type Policy struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the policy. Arn pulumi.StringOutput `pulumi:"arn"` // The policy content to add to the new policy. For example, if you create a [service control policy (SCP)](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html), 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](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) and for more information on the Tag Policy syntax, see the [Tag Policy Syntax documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_example-tag-policies.html). Content pulumi.StringOutput `pulumi:"content"` // A description to assign to the policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The friendly name to assign to the policy. Name pulumi.StringOutput `pulumi:"name"` // 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 pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // 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 pulumi.StringPtrOutput `pulumi:"type"` }
Provides a resource to manage an [AWS Organizations policy](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Actions: []string{ "*", }, Resources: []string{ "*", }, }, }, }, nil) if err != nil { return err } _, err = organizations.NewPolicy(ctx, "example", &organizations.PolicyArgs{ Name: pulumi.String("example"), Content: pulumi.String(example.Json), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import `aws_organizations_policy` using the policy ID. For example:
```sh $ pulumi import aws:organizations/policy:Policy example p-12345678 ```
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) ElementType ¶
func (*Policy) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyArgs ¶
type PolicyArgs struct { // The policy content to add to the new policy. For example, if you create a [service control policy (SCP)](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html), 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](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) and for more information on the Tag Policy syntax, see the [Tag Policy Syntax documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_example-tag-policies.html). Content pulumi.StringInput // A description to assign to the policy. Description pulumi.StringPtrInput // The friendly name to assign to the policy. Name pulumi.StringPtrInput // 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 pulumi.BoolPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // 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 pulumi.StringPtrInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyArray ¶
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶
type PolicyArrayInput interface { pulumi.Input ToPolicyArrayOutput() PolicyArrayOutput ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput }
PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:
PolicyArray{ PolicyArgs{...} }
type PolicyArrayOutput ¶
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyAttachment ¶
type PolicyAttachment struct { pulumi.CustomResourceState // The unique identifier (ID) of the policy that you want to attach to the target. PolicyId pulumi.StringOutput `pulumi:"policyId"` // 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 pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to. TargetId pulumi.StringOutput `pulumi:"targetId"` }
Provides a resource to attach an AWS Organizations policy to an organization account, root, or unit.
## Example Usage
### Organization Account
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewPolicyAttachment(ctx, "account", &organizations.PolicyAttachmentArgs{ PolicyId: pulumi.Any(example.Id), TargetId: pulumi.String("123456789012"), }) if err != nil { return err } return nil }) }
```
### Organization Root
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewPolicyAttachment(ctx, "root", &organizations.PolicyAttachmentArgs{ PolicyId: pulumi.Any(example.Id), TargetId: pulumi.Any(exampleAwsOrganizationsOrganization.Roots[0].Id), }) if err != nil { return err } return nil }) }
```
### Organization Unit
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewPolicyAttachment(ctx, "unit", &organizations.PolicyAttachmentArgs{ PolicyId: pulumi.Any(example.Id), TargetId: pulumi.Any(exampleAwsOrganizationsOrganizationalUnit.Id), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import `aws_organizations_policy_attachment` using the target ID and policy ID. For example:
With an account target:
```sh $ pulumi import aws:organizations/policyAttachment:PolicyAttachment account 123456789012:p-12345678 ```
func GetPolicyAttachment ¶
func GetPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyAttachmentState, opts ...pulumi.ResourceOption) (*PolicyAttachment, error)
GetPolicyAttachment gets an existing PolicyAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicyAttachment ¶
func NewPolicyAttachment(ctx *pulumi.Context, name string, args *PolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*PolicyAttachment, error)
NewPolicyAttachment registers a new resource with the given unique name, arguments, and options.
func (*PolicyAttachment) ElementType ¶
func (*PolicyAttachment) ElementType() reflect.Type
func (*PolicyAttachment) ToPolicyAttachmentOutput ¶
func (i *PolicyAttachment) ToPolicyAttachmentOutput() PolicyAttachmentOutput
func (*PolicyAttachment) ToPolicyAttachmentOutputWithContext ¶
func (i *PolicyAttachment) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
type PolicyAttachmentArgs ¶
type PolicyAttachmentArgs struct { // The unique identifier (ID) of the policy that you want to attach to the target. PolicyId pulumi.StringInput // 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 pulumi.BoolPtrInput // The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to. TargetId pulumi.StringInput }
The set of arguments for constructing a PolicyAttachment resource.
func (PolicyAttachmentArgs) ElementType ¶
func (PolicyAttachmentArgs) ElementType() reflect.Type
type PolicyAttachmentArray ¶
type PolicyAttachmentArray []PolicyAttachmentInput
func (PolicyAttachmentArray) ElementType ¶
func (PolicyAttachmentArray) ElementType() reflect.Type
func (PolicyAttachmentArray) ToPolicyAttachmentArrayOutput ¶
func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
func (PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext ¶
func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
type PolicyAttachmentArrayInput ¶
type PolicyAttachmentArrayInput interface { pulumi.Input ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput ToPolicyAttachmentArrayOutputWithContext(context.Context) PolicyAttachmentArrayOutput }
PolicyAttachmentArrayInput is an input type that accepts PolicyAttachmentArray and PolicyAttachmentArrayOutput values. You can construct a concrete instance of `PolicyAttachmentArrayInput` via:
PolicyAttachmentArray{ PolicyAttachmentArgs{...} }
type PolicyAttachmentArrayOutput ¶
type PolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentArrayOutput) ElementType ¶
func (PolicyAttachmentArrayOutput) ElementType() reflect.Type
func (PolicyAttachmentArrayOutput) Index ¶
func (o PolicyAttachmentArrayOutput) Index(i pulumi.IntInput) PolicyAttachmentOutput
func (PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput ¶
func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
func (PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext ¶
func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
type PolicyAttachmentInput ¶
type PolicyAttachmentInput interface { pulumi.Input ToPolicyAttachmentOutput() PolicyAttachmentOutput ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput }
type PolicyAttachmentMap ¶
type PolicyAttachmentMap map[string]PolicyAttachmentInput
func (PolicyAttachmentMap) ElementType ¶
func (PolicyAttachmentMap) ElementType() reflect.Type
func (PolicyAttachmentMap) ToPolicyAttachmentMapOutput ¶
func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
func (PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext ¶
func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
type PolicyAttachmentMapInput ¶
type PolicyAttachmentMapInput interface { pulumi.Input ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput ToPolicyAttachmentMapOutputWithContext(context.Context) PolicyAttachmentMapOutput }
PolicyAttachmentMapInput is an input type that accepts PolicyAttachmentMap and PolicyAttachmentMapOutput values. You can construct a concrete instance of `PolicyAttachmentMapInput` via:
PolicyAttachmentMap{ "key": PolicyAttachmentArgs{...} }
type PolicyAttachmentMapOutput ¶
type PolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentMapOutput) ElementType ¶
func (PolicyAttachmentMapOutput) ElementType() reflect.Type
func (PolicyAttachmentMapOutput) MapIndex ¶
func (o PolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) PolicyAttachmentOutput
func (PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput ¶
func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
func (PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext ¶
func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
type PolicyAttachmentOutput ¶
type PolicyAttachmentOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentOutput) ElementType ¶
func (PolicyAttachmentOutput) ElementType() reflect.Type
func (PolicyAttachmentOutput) PolicyId ¶
func (o PolicyAttachmentOutput) PolicyId() pulumi.StringOutput
The unique identifier (ID) of the policy that you want to attach to the target.
func (PolicyAttachmentOutput) SkipDestroy ¶
func (o PolicyAttachmentOutput) SkipDestroy() pulumi.BoolPtrOutput
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.
func (PolicyAttachmentOutput) TargetId ¶
func (o PolicyAttachmentOutput) TargetId() pulumi.StringOutput
The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
func (PolicyAttachmentOutput) ToPolicyAttachmentOutput ¶
func (o PolicyAttachmentOutput) ToPolicyAttachmentOutput() PolicyAttachmentOutput
func (PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext ¶
func (o PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
type PolicyAttachmentState ¶
type PolicyAttachmentState struct { // The unique identifier (ID) of the policy that you want to attach to the target. PolicyId pulumi.StringPtrInput // 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 pulumi.BoolPtrInput // The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to. TargetId pulumi.StringPtrInput }
func (PolicyAttachmentState) ElementType ¶
func (PolicyAttachmentState) ElementType() reflect.Type
type PolicyInput ¶
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶
func (PolicyMap) ToPolicyMapOutput ¶
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶
type PolicyMapInput interface { pulumi.Input ToPolicyMapOutput() PolicyMapOutput ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput }
PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:
PolicyMap{ "key": PolicyArgs{...} }
type PolicyMapOutput ¶
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶
type PolicyOutput struct{ *pulumi.OutputState }
func (PolicyOutput) Arn ¶
func (o PolicyOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the policy.
func (PolicyOutput) Content ¶
func (o PolicyOutput) Content() pulumi.StringOutput
The policy content to add to the new policy. For example, if you create a [service control policy (SCP)](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html), 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](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) and for more information on the Tag Policy syntax, see the [Tag Policy Syntax documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_example-tag-policies.html).
func (PolicyOutput) Description ¶
func (o PolicyOutput) Description() pulumi.StringPtrOutput
A description to assign to the policy.
func (PolicyOutput) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) Name ¶
func (o PolicyOutput) Name() pulumi.StringOutput
The friendly name to assign to the policy.
func (PolicyOutput) SkipDestroy ¶
func (o PolicyOutput) SkipDestroy() pulumi.BoolPtrOutput
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.
func (PolicyOutput) Tags ¶
func (o PolicyOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (PolicyOutput) TagsAll
deprecated
func (o PolicyOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (PolicyOutput) Type ¶
func (o PolicyOutput) Type() pulumi.StringPtrOutput
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 PolicyState ¶
type PolicyState struct { // Amazon Resource Name (ARN) of the policy. Arn pulumi.StringPtrInput // The policy content to add to the new policy. For example, if you create a [service control policy (SCP)](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html), 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](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) and for more information on the Tag Policy syntax, see the [Tag Policy Syntax documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_example-tag-policies.html). Content pulumi.StringPtrInput // A description to assign to the policy. Description pulumi.StringPtrInput // The friendly name to assign to the policy. Name pulumi.StringPtrInput // 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 pulumi.BoolPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // 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 pulumi.StringPtrInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type
type ResourcePolicy ¶
type ResourcePolicy struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the resource policy. Arn pulumi.StringOutput `pulumi:"arn"` // Content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. See the [_AWS Organizations User Guide_](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_delegate_examples.html) for examples. Content pulumi.StringOutput `pulumi:"content"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage a resource-based delegation policy that can be used to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account. See the [_AWS Organizations User Guide_](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_delegate_policies.html) for more information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := organizations.NewResourcePolicy(ctx, "example", &organizations.ResourcePolicyArgs{ Content: pulumi.String(`{ "Version": "2012-10-17", "Statement": [ { "Sid": "DelegatingNecessaryDescribeListActions", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::123456789012:root" }, "Action": [ "organizations:DescribeOrganization", "organizations:DescribeOrganizationalUnit", "organizations:DescribeAccount", "organizations:DescribePolicy", "organizations:DescribeEffectivePolicy", "organizations:ListRoots", "organizations:ListOrganizationalUnitsForParent", "organizations:ListParents", "organizations:ListChildren", "organizations:ListAccounts", "organizations:ListAccountsForParent", "organizations:ListPolicies", "organizations:ListPoliciesForTarget", "organizations:ListTargetsForPolicy", "organizations:ListTagsForResource" ], "Resource": "*" } ] }
`),
}) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import `aws_organizations_resource_policy` using the resource policy ID. For example:
```sh $ pulumi import aws:organizations/resourcePolicy:ResourcePolicy example rp-12345678 ```
func GetResourcePolicy ¶
func GetResourcePolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)
GetResourcePolicy gets an existing ResourcePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourcePolicy ¶
func NewResourcePolicy(ctx *pulumi.Context, name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)
NewResourcePolicy registers a new resource with the given unique name, arguments, and options.
func (*ResourcePolicy) ElementType ¶
func (*ResourcePolicy) ElementType() reflect.Type
func (*ResourcePolicy) ToResourcePolicyOutput ¶
func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput
func (*ResourcePolicy) ToResourcePolicyOutputWithContext ¶
func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
type ResourcePolicyArgs ¶
type ResourcePolicyArgs struct { // Content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. See the [_AWS Organizations User Guide_](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_delegate_examples.html) for examples. Content pulumi.StringInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a ResourcePolicy resource.
func (ResourcePolicyArgs) ElementType ¶
func (ResourcePolicyArgs) ElementType() reflect.Type
type ResourcePolicyArray ¶
type ResourcePolicyArray []ResourcePolicyInput
func (ResourcePolicyArray) ElementType ¶
func (ResourcePolicyArray) ElementType() reflect.Type
func (ResourcePolicyArray) ToResourcePolicyArrayOutput ¶
func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext ¶
func (i ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput
type ResourcePolicyArrayInput ¶
type ResourcePolicyArrayInput interface { pulumi.Input ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput ToResourcePolicyArrayOutputWithContext(context.Context) ResourcePolicyArrayOutput }
ResourcePolicyArrayInput is an input type that accepts ResourcePolicyArray and ResourcePolicyArrayOutput values. You can construct a concrete instance of `ResourcePolicyArrayInput` via:
ResourcePolicyArray{ ResourcePolicyArgs{...} }
type ResourcePolicyArrayOutput ¶
type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyArrayOutput) ElementType ¶
func (ResourcePolicyArrayOutput) ElementType() reflect.Type
func (ResourcePolicyArrayOutput) Index ¶
func (o ResourcePolicyArrayOutput) Index(i pulumi.IntInput) ResourcePolicyOutput
func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput ¶
func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext ¶
func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput
type ResourcePolicyInput ¶
type ResourcePolicyInput interface { pulumi.Input ToResourcePolicyOutput() ResourcePolicyOutput ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput }
type ResourcePolicyMap ¶
type ResourcePolicyMap map[string]ResourcePolicyInput
func (ResourcePolicyMap) ElementType ¶
func (ResourcePolicyMap) ElementType() reflect.Type
func (ResourcePolicyMap) ToResourcePolicyMapOutput ¶
func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput
func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext ¶
func (i ResourcePolicyMap) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput
type ResourcePolicyMapInput ¶
type ResourcePolicyMapInput interface { pulumi.Input ToResourcePolicyMapOutput() ResourcePolicyMapOutput ToResourcePolicyMapOutputWithContext(context.Context) ResourcePolicyMapOutput }
ResourcePolicyMapInput is an input type that accepts ResourcePolicyMap and ResourcePolicyMapOutput values. You can construct a concrete instance of `ResourcePolicyMapInput` via:
ResourcePolicyMap{ "key": ResourcePolicyArgs{...} }
type ResourcePolicyMapOutput ¶
type ResourcePolicyMapOutput struct{ *pulumi.OutputState }
func (ResourcePolicyMapOutput) ElementType ¶
func (ResourcePolicyMapOutput) ElementType() reflect.Type
func (ResourcePolicyMapOutput) MapIndex ¶
func (o ResourcePolicyMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyOutput
func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput ¶
func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput
func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext ¶
func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput
type ResourcePolicyOutput ¶
type ResourcePolicyOutput struct{ *pulumi.OutputState }
func (ResourcePolicyOutput) Arn ¶
func (o ResourcePolicyOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the resource policy.
func (ResourcePolicyOutput) Content ¶
func (o ResourcePolicyOutput) Content() pulumi.StringOutput
Content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. See the [_AWS Organizations User Guide_](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_delegate_examples.html) for examples.
func (ResourcePolicyOutput) ElementType ¶
func (ResourcePolicyOutput) ElementType() reflect.Type
func (ResourcePolicyOutput) Tags ¶
func (o ResourcePolicyOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ResourcePolicyOutput) TagsAll
deprecated
func (o ResourcePolicyOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ResourcePolicyOutput) ToResourcePolicyOutput ¶
func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput
func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext ¶
func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
type ResourcePolicyState ¶
type ResourcePolicyState struct { // Amazon Resource Name (ARN) of the resource policy. Arn pulumi.StringPtrInput // Content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. See the [_AWS Organizations User Guide_](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_delegate_examples.html) for examples. Content pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (ResourcePolicyState) ElementType ¶
func (ResourcePolicyState) ElementType() reflect.Type
Source Files ¶
- account.go
- delegatedAdministrator.go
- getDelegatedAdministrators.go
- getDelegatedServices.go
- getOrganization.go
- getOrganizationalUnit.go
- getOrganizationalUnitChildAccounts.go
- getOrganizationalUnitDescendantAccounts.go
- getOrganizationalUnits.go
- getPolicies.go
- getPoliciesForTarget.go
- getPolicy.go
- getResourceTags.go
- init.go
- organization.go
- organizationalUnit.go
- policy.go
- policyAttachment.go
- pulumiTypes.go
- resourcePolicy.go