Class: AWSCDK::BootstraplessSynthesizerProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BootstraplessSynthesizerProps
- Defined in:
- bootstrapless_synthesizer_props.rb
Overview
Construction properties of BootstraplessSynthesizer.
Instance Attribute Summary collapse
-
#cloud_formation_execution_role_arn ⇒ String?
readonly
The CFN execution Role ARN to use.
-
#deploy_role_arn ⇒ String?
readonly
The deploy Role ARN to use.
-
#qualifier ⇒ String?
readonly
The qualifier used to specialize strings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cloud_formation_execution_role_arn: nil, deploy_role_arn: nil, qualifier: nil) ⇒ BootstraplessSynthesizerProps
constructor
A new instance of BootstraplessSynthesizerProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cloud_formation_execution_role_arn: nil, deploy_role_arn: nil, qualifier: nil) ⇒ BootstraplessSynthesizerProps
Returns a new instance of BootstraplessSynthesizerProps.
10 11 12 13 14 15 16 17 |
# File 'bootstrapless_synthesizer_props.rb', line 10 def initialize(cloud_formation_execution_role_arn: nil, deploy_role_arn: nil, qualifier: nil) @cloud_formation_execution_role_arn = cloud_formation_execution_role_arn Jsii::Type.check_type(@cloud_formation_execution_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cloudFormationExecutionRoleArn") unless @cloud_formation_execution_role_arn.nil? @deploy_role_arn = deploy_role_arn Jsii::Type.check_type(@deploy_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deployRoleArn") unless @deploy_role_arn.nil? @qualifier = qualifier Jsii::Type.check_type(@qualifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "qualifier") unless @qualifier.nil? end |
Instance Attribute Details
#cloud_formation_execution_role_arn ⇒ String? (readonly)
Note:
Default: - No CloudFormation role (use CLI credentials)
The CFN execution Role ARN to use.
23 24 25 |
# File 'bootstrapless_synthesizer_props.rb', line 23 def cloud_formation_execution_role_arn @cloud_formation_execution_role_arn end |
#deploy_role_arn ⇒ String? (readonly)
Note:
Default: - No deploy role (use CLI credentials)
The deploy Role ARN to use.
28 29 30 |
# File 'bootstrapless_synthesizer_props.rb', line 28 def deploy_role_arn @deploy_role_arn end |
#qualifier ⇒ String? (readonly)
Note:
Default: 'hnb659fds'
The qualifier used to specialize strings.
Can be used to specify custom bootstrapped role names
35 36 37 |
# File 'bootstrapless_synthesizer_props.rb', line 35 def qualifier @qualifier end |
Class Method Details
.jsii_properties ⇒ Object
37 38 39 40 41 42 43 |
# File 'bootstrapless_synthesizer_props.rb', line 37 def self.jsii_properties { :cloud_formation_execution_role_arn => "cloudFormationExecutionRoleArn", :deploy_role_arn => "deployRoleArn", :qualifier => "qualifier", } end |
Instance Method Details
#to_jsii ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'bootstrapless_synthesizer_props.rb', line 45 def to_jsii result = {} result.merge!({ "cloudFormationExecutionRoleArn" => @cloud_formation_execution_role_arn, "deployRoleArn" => @deploy_role_arn, "qualifier" => @qualifier, }) result.compact end |