Documentation ¶
Index ¶
- type GetExportArgs
- type GetExportResult
- type GetStackArgs
- type GetStackResult
- type Stack
- func (r *Stack) Capabilities() *pulumi.ArrayOutput
- func (r *Stack) DisableRollback() *pulumi.BoolOutput
- func (r *Stack) ID() *pulumi.IDOutput
- func (r *Stack) IamRoleArn() *pulumi.StringOutput
- func (r *Stack) Name() *pulumi.StringOutput
- func (r *Stack) NotificationArns() *pulumi.ArrayOutput
- func (r *Stack) OnFailure() *pulumi.StringOutput
- func (r *Stack) Outputs() *pulumi.MapOutput
- func (r *Stack) Parameters() *pulumi.MapOutput
- func (r *Stack) PolicyBody() *pulumi.StringOutput
- func (r *Stack) PolicyUrl() *pulumi.StringOutput
- func (r *Stack) Tags() *pulumi.MapOutput
- func (r *Stack) TemplateBody() *pulumi.StringOutput
- func (r *Stack) TemplateUrl() *pulumi.StringOutput
- func (r *Stack) TimeoutInMinutes() *pulumi.IntOutput
- func (r *Stack) URN() *pulumi.URNOutput
- type StackArgs
- type StackState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetExportArgs ¶ added in v0.14.2
type GetExportArgs struct {
// The name of the cross stack reference
Name interface{}
}
A collection of arguments for invoking getExport.
type GetExportResult ¶ added in v0.14.2
type GetExportResult struct { // The exporting_stack_id (AWS ARNs) equivalent `ExportingStackId` from [list-exports](http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-exports.html) ExportingStackId interface{} // The value from Cloudformation export identified by the export name found from [list-exports](http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-exports.html) Value interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getExport.
func LookupExport ¶ added in v0.14.2
func LookupExport(ctx *pulumi.Context, args *GetExportArgs) (*GetExportResult, error)
The CloudFormation Export data source allows access to stack exports specified in the [Output](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html) 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.
type GetStackArgs ¶
type GetStackArgs struct {
// The name of the stack
Name interface{}
}
A collection of arguments for invoking getStack.
type GetStackResult ¶
type GetStackResult struct { // A list of capabilities Capabilities interface{} // Description of the stack Description interface{} // Whether the rollback of the stack is disabled when stack creation fails DisableRollback interface{} // The ARN of the IAM role used to create the stack. IamRoleArn interface{} // A list of SNS topic ARNs to publish stack related events NotificationArns interface{} // A map of outputs from the stack. Outputs interface{} // A map of parameters that specify input parameters for the stack. Parameters interface{} // A map of tags associated with this stack. Tags interface{} // Structure containing the template body. TemplateBody interface{} // The amount of time that can pass before the stack status becomes `CREATE_FAILED` TimeoutInMinutes interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getStack.
func LookupStack ¶
func LookupStack(ctx *pulumi.Context, args *GetStackArgs) (*GetStackResult, error)
The CloudFormation Stack data source allows access to stack outputs and other useful data including the template body.
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
Provides a CloudFormation Stack resource.
func GetStack ¶
func GetStack(ctx *pulumi.Context, name string, id pulumi.ID, state *StackState, opts ...pulumi.ResourceOpt) (*Stack, error)
GetStack gets an existing Stack 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 NewStack ¶
func NewStack(ctx *pulumi.Context, name string, args *StackArgs, opts ...pulumi.ResourceOpt) (*Stack, error)
NewStack registers a new resource with the given unique name, arguments, and options.
func (*Stack) Capabilities ¶
func (r *Stack) Capabilities() *pulumi.ArrayOutput
A list of capabilities. Valid values: `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM`
func (*Stack) DisableRollback ¶
func (r *Stack) DisableRollback() *pulumi.BoolOutput
Set to true to disable rollback of the stack if stack creation failed. Conflicts with `on_failure`.
func (*Stack) IamRoleArn ¶
func (r *Stack) IamRoleArn() *pulumi.StringOutput
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.
func (*Stack) NotificationArns ¶
func (r *Stack) NotificationArns() *pulumi.ArrayOutput
A list of SNS topic ARNs to publish stack related events.
func (*Stack) OnFailure ¶
func (r *Stack) OnFailure() *pulumi.StringOutput
Action to be taken if stack creation fails. This must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disable_rollback`.
func (*Stack) Parameters ¶
A list of Parameter structures that specify input parameters for the stack.
func (*Stack) PolicyBody ¶
func (r *Stack) PolicyBody() *pulumi.StringOutput
Structure containing the stack policy body. Conflicts w/ `policy_url`.
func (*Stack) PolicyUrl ¶
func (r *Stack) PolicyUrl() *pulumi.StringOutput
Location of a file containing the stack policy. Conflicts w/ `policy_body`.
func (*Stack) TemplateBody ¶
func (r *Stack) TemplateBody() *pulumi.StringOutput
Structure containing the template body (max size: 51,200 bytes).
func (*Stack) TemplateUrl ¶
func (r *Stack) TemplateUrl() *pulumi.StringOutput
Location of a file containing the template body (max size: 460,800 bytes).
func (*Stack) TimeoutInMinutes ¶
The amount of time that can pass before the stack status becomes `CREATE_FAILED`.
type StackArgs ¶
type StackArgs struct { // A list of capabilities. // Valid values: `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` Capabilities interface{} // Set to true to disable rollback of the stack if stack creation failed. // Conflicts with `on_failure`. DisableRollback interface{} // 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. IamRoleArn interface{} // Stack name. Name interface{} // A list of SNS topic ARNs to publish stack related events. NotificationArns interface{} // Action to be taken if stack creation fails. This must be // one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disable_rollback`. OnFailure interface{} // A list of Parameter structures that specify input parameters for the stack. Parameters interface{} // Structure containing the stack policy body. // Conflicts w/ `policy_url`. PolicyBody interface{} // Location of a file containing the stack policy. // Conflicts w/ `policy_body`. PolicyUrl interface{} // A list of tags to associate with this stack. Tags interface{} // Structure containing the template body (max size: 51,200 bytes). TemplateBody interface{} // Location of a file containing the template body (max size: 460,800 bytes). TemplateUrl interface{} // The amount of time that can pass before the stack status becomes `CREATE_FAILED`. TimeoutInMinutes interface{} }
The set of arguments for constructing a Stack resource.
type StackState ¶
type StackState struct { // A list of capabilities. // Valid values: `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` Capabilities interface{} // Set to true to disable rollback of the stack if stack creation failed. // Conflicts with `on_failure`. DisableRollback interface{} // 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. IamRoleArn interface{} // Stack name. Name interface{} // A list of SNS topic ARNs to publish stack related events. NotificationArns interface{} // Action to be taken if stack creation fails. This must be // one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disable_rollback`. OnFailure interface{} // A map of outputs from the stack. Outputs interface{} // A list of Parameter structures that specify input parameters for the stack. Parameters interface{} // Structure containing the stack policy body. // Conflicts w/ `policy_url`. PolicyBody interface{} // Location of a file containing the stack policy. // Conflicts w/ `policy_body`. PolicyUrl interface{} // A list of tags to associate with this stack. Tags interface{} // Structure containing the template body (max size: 51,200 bytes). TemplateBody interface{} // Location of a file containing the template body (max size: 460,800 bytes). TemplateUrl interface{} // The amount of time that can pass before the stack status becomes `CREATE_FAILED`. TimeoutInMinutes interface{} }
Input properties used for looking up and filtering Stack resources.