AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
aws-native.cloudformation.getStack
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.
Using getStack
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStack(args: GetStackArgs, opts?: InvokeOptions): Promise<GetStackResult>
function getStackOutput(args: GetStackOutputArgs, opts?: InvokeOptions): Output<GetStackResult>
def get_stack(stack_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStackResult
def get_stack_output(stack_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStackResult]
func LookupStack(ctx *Context, args *LookupStackArgs, opts ...InvokeOption) (*LookupStackResult, error)
func LookupStackOutput(ctx *Context, args *LookupStackOutputArgs, opts ...InvokeOption) LookupStackResultOutput
> Note: This function is named LookupStack
in the Go SDK.
public static class GetStack
{
public static Task<GetStackResult> InvokeAsync(GetStackArgs args, InvokeOptions? opts = null)
public static Output<GetStackResult> Invoke(GetStackInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStackResult> getStack(GetStackArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudformation:getStack
arguments:
# arguments dictionary
The following arguments are supported:
- Stack
Id string
- Stack
Id string
- stack
Id String
- stack
Id string
- stack_
id str
- stack
Id String
getStack Result
The following output properties are available:
- Capabilities
List<Pulumi.
Aws Native. Cloud Formation. Stack Capabilities Item> - Change
Set stringId - Creation
Time string - Description string
- Disable
Rollback bool - Enable
Termination boolProtection - Last
Update stringTime - Notification
Arns List<string> - Outputs
List<Pulumi.
Aws Native. Cloud Formation. Outputs. Stack Output> - Parameters Dictionary<string, string>
- Parent
Id string - Role
Arn string - Root
Id string - Stack
Id string - Stack
Policy objectBody - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - Stack
Status Pulumi.Aws Native. Cloud Formation. Stack Status - Stack
Status stringReason - List<Pulumi.
Aws Native. Outputs. Tag> - Template
Body object - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - Timeout
In intMinutes
- Capabilities
[]Stack
Capabilities Item - Change
Set stringId - Creation
Time string - Description string
- Disable
Rollback bool - Enable
Termination boolProtection - Last
Update stringTime - Notification
Arns []string - Outputs
[]Stack
Output Type - Parameters map[string]string
- Parent
Id string - Role
Arn string - Root
Id string - Stack
Id string - Stack
Policy interface{}Body - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - Stack
Status StackStatus - Stack
Status stringReason - Tag
- Template
Body interface{} - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - Timeout
In intMinutes
- capabilities
List<Stack
Capabilities Item> - change
Set StringId - creation
Time String - description String
- disable
Rollback Boolean - enable
Termination BooleanProtection - last
Update StringTime - notification
Arns List<String> - outputs
List<Stack
Output> - parameters Map<String,String>
- parent
Id String - role
Arn String - root
Id String - stack
Id String - stack
Policy ObjectBody - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - stack
Status StackStatus - stack
Status StringReason - List<Tag>
- template
Body Object - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - timeout
In IntegerMinutes
- capabilities
Stack
Capabilities Item[] - change
Set stringId - creation
Time string - description string
- disable
Rollback boolean - enable
Termination booleanProtection - last
Update stringTime - notification
Arns string[] - outputs
Stack
Output[] - parameters {[key: string]: string}
- parent
Id string - role
Arn string - root
Id string - stack
Id string - stack
Policy anyBody - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - stack
Status StackStatus - stack
Status stringReason - Tag[]
- template
Body any - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - timeout
In numberMinutes
- capabilities
Sequence[Stack
Capabilities Item] - change_
set_ strid - creation_
time str - description str
- disable_
rollback bool - enable_
termination_ boolprotection - last_
update_ strtime - notification_
arns Sequence[str] - outputs
Sequence[Stack
Output] - parameters Mapping[str, str]
- parent_
id str - role_
arn str - root_
id str - stack_
id str - stack_
policy_ Anybody - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - stack_
status StackStatus - stack_
status_ strreason - Sequence[root_Tag]
- template_
body Any - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - timeout_
in_ intminutes
- capabilities List<"CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND">
- change
Set StringId - creation
Time String - description String
- disable
Rollback Boolean - enable
Termination BooleanProtection - last
Update StringTime - notification
Arns List<String> - outputs List<Property Map>
- parameters Map<String>
- parent
Id String - role
Arn String - root
Id String - stack
Id String - stack
Policy AnyBody - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - stack
Status "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" - stack
Status StringReason - List<Property Map>
- template
Body Any - Search the CloudFormation User Guide for
AWS::CloudFormation::Stack
for more information about the expected schema for this property. - timeout
In NumberMinutes
Supporting Types
StackCapabilitiesItem
StackOutput
- Description string
- Export
Name string - Output
Key string - Output
Value string
- Description string
- Export
Name string - Output
Key string - Output
Value string
- description String
- export
Name String - output
Key String - output
Value String
- description string
- export
Name string - output
Key string - output
Value string
- description str
- export_
name str - output_
key str - output_
value str
- description String
- export
Name String - output
Key String - output
Value String
StackStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi