Class: Aws::CloudFormation::Types::DeploymentTargets

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb

Overview

Note:

When making an API call, you may pass DeploymentTargets data as a hash:

{
  accounts: ["Account"],
  accounts_url: "AccountsUrl",
  organizational_unit_ids: ["OrganizationalUnitId"],
}

[Service-managed permissions] The AWS Organizations accounts to which StackSets deploys. StackSets does not deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization.

For update operations, you can specify either Accounts or OrganizationalUnitIds. For create and delete operations, specify OrganizationalUnitIds.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accountsArray<String>

The names of one or more AWS accounts for which you want to deploy stack set updates.

Returns:

  • (Array<String>)


1904
1905
1906
1907
1908
1909
1910
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 1904

class DeploymentTargets < Struct.new(
  :accounts,
  :accounts_url,
  :organizational_unit_ids)
  SENSITIVE = []
  include Aws::Structure
end

#accounts_urlString

Returns the value of the AccountsUrl property.

Returns:

  • (String)


1904
1905
1906
1907
1908
1909
1910
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 1904

class DeploymentTargets < Struct.new(
  :accounts,
  :accounts_url,
  :organizational_unit_ids)
  SENSITIVE = []
  include Aws::Structure
end

#organizational_unit_idsArray<String>

The organization root ID or organizational unit (OU) IDs to which StackSets deploys.

Returns:

  • (Array<String>)


1904
1905
1906
1907
1908
1909
1910
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 1904

class DeploymentTargets < Struct.new(
  :accounts,
  :accounts_url,
  :organizational_unit_ids)
  SENSITIVE = []
  include Aws::Structure
end