Class: AWSCDK::Amplify::CfnBranch::BackendProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Amplify::CfnBranch::BackendProperty
- Defined in:
- amplify/cfn_branch.rb
Overview
Describes the backend associated with an Amplify Branch .
This property is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
Instance Attribute Summary collapse
-
#stack_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) for the CloudFormation stack.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(stack_arn: nil) ⇒ BackendProperty
constructor
A new instance of BackendProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(stack_arn: nil) ⇒ BackendProperty
Returns a new instance of BackendProperty.
726 727 728 729 |
# File 'amplify/cfn_branch.rb', line 726 def initialize(stack_arn: nil) @stack_arn = stack_arn Jsii::Type.check_type(@stack_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stackArn") unless @stack_arn.nil? end |
Instance Attribute Details
#stack_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) for the CloudFormation stack.
735 736 737 |
# File 'amplify/cfn_branch.rb', line 735 def stack_arn @stack_arn end |
Class Method Details
.jsii_properties ⇒ Object
737 738 739 740 741 |
# File 'amplify/cfn_branch.rb', line 737 def self.jsii_properties { :stack_arn => "stackArn", } end |
Instance Method Details
#to_jsii ⇒ Object
743 744 745 746 747 748 749 |
# File 'amplify/cfn_branch.rb', line 743 def to_jsii result = {} result.merge!({ "stackArn" => @stack_arn, }) result.compact end |