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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 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 Amazon Web Services accounts for which you want to deploy stack set updates.

Returns:

  • (Array<String>)

2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-cloudformation/types.rb', line 2154

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)

2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-cloudformation/types.rb', line 2154

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>)

2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-cloudformation/types.rb', line 2154

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