organizations

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// contains filtered or unexported fields
}

Provides a resource to create a member account in the current organization.

~> **Note:** Account management must be done from the organization's master account.

!> **WARNING:** Deleting this Terraform resource will only remove an AWS account from an organization. Terraform will not close the account. The member account must be prepared to be a standalone account beforehand. See the [AWS Organizations documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html) for more information.

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AccountState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

func (*Account) Arn

func (r *Account) Arn() *pulumi.StringOutput

The ARN for this account.

func (*Account) Email

func (r *Account) Email() *pulumi.StringOutput

The 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 (*Account) ID

func (r *Account) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Account) IamUserAccessToBilling

func (r *Account) IamUserAccessToBilling() *pulumi.StringOutput

If set to `ALLOW`, the new account enables IAM users to access account billing information if they have the required permissions. If set to `DENY`, then only the root user of the new account can access account billing information.

func (*Account) JoinedMethod

func (r *Account) JoinedMethod() *pulumi.StringOutput

func (*Account) JoinedTimestamp

func (r *Account) JoinedTimestamp() *pulumi.StringOutput

func (*Account) Name

func (r *Account) Name() *pulumi.StringOutput

A friendly name for the member account.

func (*Account) RoleName

func (r *Account) RoleName() *pulumi.StringOutput

The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account.

func (*Account) Status

func (r *Account) Status() *pulumi.StringOutput

func (*Account) URN

func (r *Account) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AccountArgs

type AccountArgs struct {
	// The 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 interface{}
	// If set to `ALLOW`, the new account enables IAM users to access account billing information if they have the required permissions. If set to `DENY`, then only the root user of the new account can access account billing information.
	IamUserAccessToBilling interface{}
	// A friendly name for the member account.
	Name interface{}
	// The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account.
	RoleName interface{}
}

The set of arguments for constructing a Account resource.

type AccountState

type AccountState struct {
	// The ARN for this account.
	Arn interface{}
	// The 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 interface{}
	// If set to `ALLOW`, the new account enables IAM users to access account billing information if they have the required permissions. If set to `DENY`, then only the root user of the new account can access account billing information.
	IamUserAccessToBilling interface{}
	JoinedMethod           interface{}
	JoinedTimestamp        interface{}
	// A friendly name for the member account.
	Name interface{}
	// The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account.
	RoleName interface{}
	Status   interface{}
}

Input properties used for looking up and filtering Account resources.

type Organization

type Organization struct {
	// contains filtered or unexported fields
}

Provides a resource to create an organization.

func GetOrganization

func GetOrganization(ctx *pulumi.Context,
	name string, id pulumi.ID, state *OrganizationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Organization, error)

NewOrganization registers a new resource with the given unique name, arguments, and options.

func (*Organization) Arn

func (r *Organization) Arn() *pulumi.StringOutput

ARN of the organization

func (*Organization) FeatureSet

func (r *Organization) FeatureSet() *pulumi.StringOutput

Specify "ALL" (default) or "CONSOLIDATED_BILLING".

func (*Organization) ID

func (r *Organization) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Organization) MasterAccountArn

func (r *Organization) MasterAccountArn() *pulumi.StringOutput

ARN of the master account

func (*Organization) MasterAccountEmail

func (r *Organization) MasterAccountEmail() *pulumi.StringOutput

Email address of the master account

func (*Organization) MasterAccountId

func (r *Organization) MasterAccountId() *pulumi.StringOutput

Identifier of the master account

func (*Organization) URN

func (r *Organization) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type OrganizationArgs

type OrganizationArgs struct {
	// Specify "ALL" (default) or "CONSOLIDATED_BILLING".
	FeatureSet interface{}
}

The set of arguments for constructing a Organization resource.

type OrganizationState

type OrganizationState struct {
	// ARN of the organization
	Arn interface{}
	// Specify "ALL" (default) or "CONSOLIDATED_BILLING".
	FeatureSet interface{}
	// ARN of the master account
	MasterAccountArn interface{}
	// Email address of the master account
	MasterAccountEmail interface{}
	// Identifier of the master account
	MasterAccountId interface{}
}

Input properties used for looking up and filtering Organization resources.

type Policy

type Policy struct {
	// contains filtered or unexported fields
}

Provides a resource to manage an [AWS Organizations policy](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html).

func GetPolicy

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Policy, error)

NewPolicy registers a new resource with the given unique name, arguments, and options.

func (*Policy) Arn

func (r *Policy) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the policy.

func (*Policy) Content

func (r *Policy) 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).

func (*Policy) Description

func (r *Policy) Description() *pulumi.StringOutput

A description to assign to the policy.

func (*Policy) ID

func (r *Policy) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Policy) Name

func (r *Policy) Name() *pulumi.StringOutput

The friendly name to assign to the policy.

func (*Policy) Type

func (r *Policy) Type() *pulumi.StringOutput

The type of policy to create. Currently, the only valid value is `SERVICE_CONTROL_POLICY` (SCP).

func (*Policy) URN

func (r *Policy) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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).
	Content interface{}
	// A description to assign to the policy.
	Description interface{}
	// The friendly name to assign to the policy.
	Name interface{}
	// The type of policy to create. Currently, the only valid value is `SERVICE_CONTROL_POLICY` (SCP).
	Type interface{}
}

The set of arguments for constructing a Policy resource.

type PolicyAttachment

type PolicyAttachment struct {
	// contains filtered or unexported fields
}

Provides a resource to attach an AWS Organizations policy to an organization account, root, or unit.

func GetPolicyAttachment

func GetPolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyAttachmentState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*PolicyAttachment, error)

NewPolicyAttachment registers a new resource with the given unique name, arguments, and options.

func (*PolicyAttachment) ID

func (r *PolicyAttachment) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*PolicyAttachment) PolicyId

func (r *PolicyAttachment) PolicyId() *pulumi.StringOutput

The unique identifier (ID) of the policy that you want to attach to the target.

func (*PolicyAttachment) TargetId

func (r *PolicyAttachment) TargetId() *pulumi.StringOutput

The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.

func (*PolicyAttachment) URN

func (r *PolicyAttachment) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PolicyAttachmentArgs

type PolicyAttachmentArgs struct {
	// The unique identifier (ID) of the policy that you want to attach to the target.
	PolicyId interface{}
	// The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
	TargetId interface{}
}

The set of arguments for constructing a PolicyAttachment resource.

type PolicyAttachmentState

type PolicyAttachmentState struct {
	// The unique identifier (ID) of the policy that you want to attach to the target.
	PolicyId interface{}
	// The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
	TargetId interface{}
}

Input properties used for looking up and filtering PolicyAttachment resources.

type PolicyState

type PolicyState struct {
	// Amazon Resource Name (ARN) of the policy.
	Arn interface{}
	// 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).
	Content interface{}
	// A description to assign to the policy.
	Description interface{}
	// The friendly name to assign to the policy.
	Name interface{}
	// The type of policy to create. Currently, the only valid value is `SERVICE_CONTROL_POLICY` (SCP).
	Type interface{}
}

Input properties used for looking up and filtering Policy resources.

Jump to

Keyboard shortcuts

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