Example usage for com.amazonaws.services.cloudformation.model DescribeStackResourceResult getStackResourceDetail

List of usage examples for com.amazonaws.services.cloudformation.model DescribeStackResourceResult getStackResourceDetail

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudformation.model DescribeStackResourceResult getStackResourceDetail.

Prototype


public StackResourceDetail getStackResourceDetail() 

Source Link

Document

A StackResourceDetail structure containing the description of the specified resource in the specified stack.

Usage

From source file:com.clicktravel.infrastructure.provisioning.aws.cloudformation.Stack.java

License:Apache License

public StackResourceDetail describeResource(final String logicalResourceId) {
    final DescribeStackResourceRequest request = new DescribeStackResourceRequest()
            .withLogicalResourceId(logicalResourceId).withStackName(name);
    final DescribeStackResourceResult result = cloudFormationClient.describeStackResource(request);
    return result.getStackResourceDetail();
}