Skip to content

Create Account Pool

datazone_create_account_pool R Documentation

Creates an account pool

Description

Creates an account pool.

Usage

datazone_create_account_pool(domainIdentifier, name, description,
  resolutionStrategy, accountSource)

Arguments

domainIdentifier

[required] The ID of the domain where the account pool is created.

name

[required] The name of the account pool.

description

The description of the account pool.

resolutionStrategy

[required] The mechanism used to resolve the account selection from the account pool.

accountSource

[required] The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.

Value

A list with the following syntax:

list(
  domainId = "string",
  name = "string",
  id = "string",
  description = "string",
  resolutionStrategy = "MANUAL",
  accountSource = list(
    accounts = list(
      list(
        awsAccountId = "string",
        supportedRegions = list(
          "string"
        ),
        awsAccountName = "string"
      )
    ),
    customAccountPoolHandler = list(
      lambdaFunctionArn = "string",
      lambdaExecutionRoleArn = "string"
    )
  ),
  createdBy = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedBy = "string",
  domainUnitId = "string"
)

Request syntax

svc$create_account_pool(
  domainIdentifier = "string",
  name = "string",
  description = "string",
  resolutionStrategy = "MANUAL",
  accountSource = list(
    accounts = list(
      list(
        awsAccountId = "string",
        supportedRegions = list(
          "string"
        ),
        awsAccountName = "string"
      )
    ),
    customAccountPoolHandler = list(
      lambdaFunctionArn = "string",
      lambdaExecutionRoleArn = "string"
    )
  )
)