Class: AWSCDK::BootstraplessSynthesizerProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bootstrapless_synthesizer_props.rb

Overview

Construction properties of BootstraplessSynthesizer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloud_formation_execution_role_arn: nil, deploy_role_arn: nil, qualifier: nil) ⇒ BootstraplessSynthesizerProps

Returns a new instance of BootstraplessSynthesizerProps.

Parameters:

  • cloud_formation_execution_role_arn (String, nil) (defaults to: nil)

    The CFN execution Role ARN to use.

  • deploy_role_arn (String, nil) (defaults to: nil)

    The deploy Role ARN to use.

  • qualifier (String, nil) (defaults to: nil)

    The qualifier used to specialize strings.



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_arnString? (readonly)

Note:

Default: - No CloudFormation role (use CLI credentials)

The CFN execution Role ARN to use.

Returns:

  • (String, nil)


23
24
25
# File 'bootstrapless_synthesizer_props.rb', line 23

def cloud_formation_execution_role_arn
  @cloud_formation_execution_role_arn
end

#deploy_role_arnString? (readonly)

Note:

Default: - No deploy role (use CLI credentials)

The deploy Role ARN to use.

Returns:

  • (String, nil)


28
29
30
# File 'bootstrapless_synthesizer_props.rb', line 28

def deploy_role_arn
  @deploy_role_arn
end

#qualifierString? (readonly)

Note:

Default: 'hnb659fds'

The qualifier used to specialize strings.

Can be used to specify custom bootstrapped role names

Returns:

  • (String, nil)


35
36
37
# File 'bootstrapless_synthesizer_props.rb', line 35

def qualifier
  @qualifier
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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