cloudformation

class pulumi_aws.cloudformation.GetExportResult(exporting_stack_id=None, value=None, id=None)

A collection of values returned by getExport.

exporting_stack_id = None

The exporting_stack_id (AWS ARNs) equivalent ExportingStackId from list-exports

value = None

The value from Cloudformation export identified by the export name found from list-exports

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.cloudformation.GetStackResult(capabilities=None, description=None, disable_rollback=None, iam_role_arn=None, notification_arns=None, outputs=None, parameters=None, tags=None, template_body=None, timeout_in_minutes=None, id=None)

A collection of values returned by getStack.

capabilities = None

A list of capabilities

description = None

Description of the stack

disable_rollback = None

Whether the rollback of the stack is disabled when stack creation fails

iam_role_arn = None

The ARN of the IAM role used to create the stack.

notification_arns = None

A list of SNS topic ARNs to publish stack related events

outputs = None

A map of outputs from the stack.

parameters = None

A map of parameters that specify input parameters for the stack.

tags = None

A map of tags associated with this stack.

template_body = None

Structure containing the template body.

timeout_in_minutes = None

The amount of time that can pass before the stack status becomes CREATE_FAILED

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.cloudformation.Stack(resource_name, opts=None, capabilities=None, disable_rollback=None, iam_role_arn=None, name=None, notification_arns=None, on_failure=None, parameters=None, policy_body=None, policy_url=None, tags=None, template_body=None, template_url=None, timeout_in_minutes=None, __name__=None, __opts__=None)

Provides a CloudFormation Stack resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • capabilities (pulumi.Input[list]) – A list of capabilities. Valid values: CAPABILITY_IAM or CAPABILITY_NAMED_IAM
  • disable_rollback (pulumi.Input[bool]) – Set to true to disable rollback of the stack if stack creation failed. Conflicts with on_failure.
  • iam_role_arn (pulumi.Input[str]) – The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don’t specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
  • name (pulumi.Input[str]) – Stack name.
  • notification_arns (pulumi.Input[list]) – A list of SNS topic ARNs to publish stack related events.
  • on_failure (pulumi.Input[str]) – Action to be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. Conflicts with disable_rollback.
  • parameters (pulumi.Input[dict]) – A map of Parameter structures that specify input parameters for the stack.
  • policy_body (pulumi.Input[str]) – Structure containing the stack policy body. Conflicts w/ policy_url.
  • policy_url (pulumi.Input[str]) – Location of a file containing the stack policy. Conflicts w/ policy_body.
  • tags (pulumi.Input[dict]) – A list of tags to associate with this stack.
  • template_body (pulumi.Input[str]) – Structure containing the template body (max size: 51,200 bytes).
  • template_url (pulumi.Input[str]) – Location of a file containing the template body (max size: 460,800 bytes).
  • timeout_in_minutes (pulumi.Input[int]) – The amount of time that can pass before the stack status becomes CREATE_FAILED.
capabilities = None

A list of capabilities. Valid values: CAPABILITY_IAM or CAPABILITY_NAMED_IAM

disable_rollback = None

Set to true to disable rollback of the stack if stack creation failed. Conflicts with on_failure.

iam_role_arn = None

The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don’t specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.

name = None

Stack name.

notification_arns = None

A list of SNS topic ARNs to publish stack related events.

on_failure = None

Action to be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. Conflicts with disable_rollback.

outputs = None

A map of outputs from the stack.

parameters = None

A map of Parameter structures that specify input parameters for the stack.

policy_body = None

Structure containing the stack policy body. Conflicts w/ policy_url.

policy_url = None

Location of a file containing the stack policy. Conflicts w/ policy_body.

tags = None

A list of tags to associate with this stack.

template_body = None

Structure containing the template body (max size: 51,200 bytes).

template_url = None

Location of a file containing the template body (max size: 460,800 bytes).

timeout_in_minutes = None

The amount of time that can pass before the stack status becomes CREATE_FAILED.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_aws.cloudformation.get_export(name=None)

The CloudFormation Export data source allows access to stack exports specified in the Output section of the Cloudformation Template using the optional Export Property.

Note: If you are trying to use a value from a Cloudformation Stack in the same Terraform run please use normal interpolation or Cloudformation Outputs.
pulumi_aws.cloudformation.get_stack(name=None)

The CloudFormation Stack data source allows access to stack outputs and other useful data including the template body.