Class: AWSCDK::CodeDeploy::CfnDeploymentGroupProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
code_deploy/cfn_deployment_group_props.rb

Overview

Properties for defining a CfnDeploymentGroup.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_name:, service_role_arn:, alarm_configuration: nil, auto_rollback_configuration: nil, auto_scaling_groups: nil, blue_green_deployment_configuration: nil, deployment: nil, deployment_config_name: nil, deployment_group_name: nil, deployment_style: nil, ec2_tag_filters: nil, ec2_tag_set: nil, ecs_services: nil, load_balancer_info: nil, on_premises_instance_tag_filters: nil, on_premises_tag_set: nil, outdated_instances_strategy: nil, tags: nil, termination_hook_enabled: nil, trigger_configurations: nil) ⇒ CfnDeploymentGroupProps

Returns a new instance of CfnDeploymentGroupProps.

Parameters:



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'code_deploy/cfn_deployment_group_props.rb', line 29

def initialize(application_name:, service_role_arn:, alarm_configuration: nil, auto_rollback_configuration: nil, auto_scaling_groups: nil, blue_green_deployment_configuration: nil, deployment: nil, deployment_config_name: nil, deployment_group_name: nil, deployment_style: nil, ec2_tag_filters: nil, ec2_tag_set: nil, ecs_services: nil, load_balancer_info: nil, on_premises_instance_tag_filters: nil, on_premises_tag_set: nil, outdated_instances_strategy: nil, tags: nil, termination_hook_enabled: nil, trigger_configurations: nil)
  @application_name = application_name
  Jsii::Type.check_type(@application_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationName")
  @service_role_arn = service_role_arn
  Jsii::Type.check_type(@service_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceRoleArn")
  @alarm_configuration = alarm_configuration.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::AlarmConfigurationProperty.new(**alarm_configuration.transform_keys(&:to_sym)) : alarm_configuration
  Jsii::Type.check_type(@alarm_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5BbGFybUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "alarmConfiguration") unless @alarm_configuration.nil?
  @auto_rollback_configuration = auto_rollback_configuration.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::AutoRollbackConfigurationProperty.new(**auto_rollback_configuration.transform_keys(&:to_sym)) : auto_rollback_configuration
  Jsii::Type.check_type(@auto_rollback_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5BdXRvUm9sbGJhY2tDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "autoRollbackConfiguration") unless @auto_rollback_configuration.nil?
  @auto_scaling_groups = auto_scaling_groups
  Jsii::Type.check_type(@auto_scaling_groups, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "autoScalingGroups") unless @auto_scaling_groups.nil?
  @blue_green_deployment_configuration = blue_green_deployment_configuration.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::BlueGreenDeploymentConfigurationProperty.new(**blue_green_deployment_configuration.transform_keys(&:to_sym)) : blue_green_deployment_configuration
  Jsii::Type.check_type(@blue_green_deployment_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5CbHVlR3JlZW5EZXBsb3ltZW50Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "blueGreenDeploymentConfiguration") unless @blue_green_deployment_configuration.nil?
  @deployment = deployment.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::DeploymentProperty.new(**deployment.transform_keys(&:to_sym)) : deployment
  Jsii::Type.check_type(@deployment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5EZXBsb3ltZW50UHJvcGVydHkifV19fQ==")), "deployment") unless @deployment.nil?
  @deployment_config_name = deployment_config_name
  Jsii::Type.check_type(@deployment_config_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentConfigName") unless @deployment_config_name.nil?
  @deployment_group_name = deployment_group_name
  Jsii::Type.check_type(@deployment_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentGroupName") unless @deployment_group_name.nil?
  @deployment_style = deployment_style.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::DeploymentStyleProperty.new(**deployment_style.transform_keys(&:to_sym)) : deployment_style
  Jsii::Type.check_type(@deployment_style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5EZXBsb3ltZW50U3R5bGVQcm9wZXJ0eSJ9XX19")), "deploymentStyle") unless @deployment_style.nil?
  @ec2_tag_filters = ec2_tag_filters
  Jsii::Type.check_type(@ec2_tag_filters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWRlcGxveS5DZm5EZXBsb3ltZW50R3JvdXAuRUMyVGFnRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "ec2TagFilters") unless @ec2_tag_filters.nil?
  @ec2_tag_set = ec2_tag_set.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::EC2TagSetProperty.new(**ec2_tag_set.transform_keys(&:to_sym)) : ec2_tag_set
  Jsii::Type.check_type(@ec2_tag_set, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5FQzJUYWdTZXRQcm9wZXJ0eSJ9XX19")), "ec2TagSet") unless @ec2_tag_set.nil?
  @ecs_services = ecs_services
  Jsii::Type.check_type(@ecs_services, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWRlcGxveS5DZm5EZXBsb3ltZW50R3JvdXAuRUNTU2VydmljZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "ecsServices") unless @ecs_services.nil?
  @load_balancer_info = load_balancer_info.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::LoadBalancerInfoProperty.new(**load_balancer_info.transform_keys(&:to_sym)) : load_balancer_info
  Jsii::Type.check_type(@load_balancer_info, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5Mb2FkQmFsYW5jZXJJbmZvUHJvcGVydHkifV19fQ==")), "loadBalancerInfo") unless @load_balancer_info.nil?
  @on_premises_instance_tag_filters = on_premises_instance_tag_filters
  Jsii::Type.check_type(@on_premises_instance_tag_filters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWRlcGxveS5DZm5EZXBsb3ltZW50R3JvdXAuVGFnRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "onPremisesInstanceTagFilters") unless @on_premises_instance_tag_filters.nil?
  @on_premises_tag_set = on_premises_tag_set.is_a?(Hash) ? ::AWSCDK::CodeDeploy::CfnDeploymentGroup::OnPremisesTagSetProperty.new(**on_premises_tag_set.transform_keys(&:to_sym)) : on_premises_tag_set
  Jsii::Type.check_type(@on_premises_tag_set, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlZGVwbG95LkNmbkRlcGxveW1lbnRHcm91cC5PblByZW1pc2VzVGFnU2V0UHJvcGVydHkifV19fQ==")), "onPremisesTagSet") unless @on_premises_tag_set.nil?
  @outdated_instances_strategy = outdated_instances_strategy
  Jsii::Type.check_type(@outdated_instances_strategy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outdatedInstancesStrategy") unless @outdated_instances_strategy.nil?
  @tags = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil?
  @termination_hook_enabled = termination_hook_enabled
  Jsii::Type.check_type(@termination_hook_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "terminationHookEnabled") unless @termination_hook_enabled.nil?
  @trigger_configurations = trigger_configurations
  Jsii::Type.check_type(@trigger_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWRlcGxveS5DZm5EZXBsb3ltZW50R3JvdXAuVHJpZ2dlckNvbmZpZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "triggerConfigurations") unless @trigger_configurations.nil?
end

Instance Attribute Details

#alarm_configurationAWSCDK::IResolvable, ... (readonly)

Information about the Amazon CloudWatch alarms that are associated with the deployment group.



90
91
92
# File 'code_deploy/cfn_deployment_group_props.rb', line 90

def alarm_configuration
  @alarm_configuration
end

#application_nameString (readonly)

The name of an existing CodeDeploy application to associate this deployment group with.



76
77
78
# File 'code_deploy/cfn_deployment_group_props.rb', line 76

def application_name
  @application_name
end

#auto_rollback_configurationAWSCDK::IResolvable, ... (readonly)

Information about the automatic rollback configuration that is associated with the deployment group.

If you specify this property, don't specify the Deployment property.



97
98
99
# File 'code_deploy/cfn_deployment_group_props.rb', line 97

def auto_rollback_configuration
  @auto_rollback_configuration
end

#auto_scaling_groupsArray<String>? (readonly)

A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.

Duplicates are not allowed.



104
105
106
# File 'code_deploy/cfn_deployment_group_props.rb', line 104

def auto_scaling_groups
  @auto_scaling_groups
end

#blue_green_deployment_configurationAWSCDK::IResolvable, ... (readonly)

Information about blue/green deployment options for a deployment group.



109
110
111
# File 'code_deploy/cfn_deployment_group_props.rb', line 109

def blue_green_deployment_configuration
  @blue_green_deployment_configuration
end

#deploymentAWSCDK::IResolvable, ... (readonly)

The application revision to deploy to this deployment group.

If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration property.



116
117
118
# File 'code_deploy/cfn_deployment_group_props.rb', line 116

def deployment
  @deployment
end

#deployment_config_nameString? (readonly)

A deployment configuration name or a predefined configuration name.

With predefined configurations, you can deploy application revisions to one instance at a time ( CodeDeployDefault.OneAtATime ), half of the instances at a time ( CodeDeployDefault.HalfAtATime ), or all the instances at once ( CodeDeployDefault.AllAtOnce ). For more information and valid values, see Working with Deployment Configurations in the AWS CodeDeploy User Guide .



123
124
125
# File 'code_deploy/cfn_deployment_group_props.rb', line 123

def deployment_config_name
  @deployment_config_name
end

#deployment_group_nameString? (readonly)

A name for the deployment group.

If you don't specify a name, CloudFormation generates a unique physical ID and uses that ID for the deployment group name. For more information, see Name Type .

If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.



132
133
134
# File 'code_deploy/cfn_deployment_group_props.rb', line 132

def deployment_group_name
  @deployment_group_name
end

#deployment_styleAWSCDK::IResolvable, ... (readonly)

Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.

If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups , LoadBalancerInfo , or Deployment properties.

For blue/green deployments, CloudFormation supports deployments on Lambda compute platforms only. You can perform Amazon ECS blue/green deployments using AWS::CodeDeploy::BlueGreen hook. See Perform Amazon ECS blue/green deployments through CodeDeploy using CloudFormation for more information.



141
142
143
# File 'code_deploy/cfn_deployment_group_props.rb', line 141

def deployment_style
  @deployment_style
end

#ec2_tag_filtersAWSCDK::IResolvable, ... (readonly)

The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.

CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed.

You can specify EC2TagFilters or Ec2TagSet , but not both.



150
151
152
# File 'code_deploy/cfn_deployment_group_props.rb', line 150

def ec2_tag_filters
  @ec2_tag_filters
end

#ec2_tag_setAWSCDK::IResolvable, ... (readonly)

Information about groups of tags applied to Amazon EC2 instances.

The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2_tag_filter .



157
158
159
# File 'code_deploy/cfn_deployment_group_props.rb', line 157

def ec2_tag_set
  @ec2_tag_set
end

#ecs_servicesAWSCDK::IResolvable, ... (readonly)

The target Amazon ECS services in the deployment group.

This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format <clustername>:<servicename> .



164
165
166
# File 'code_deploy/cfn_deployment_group_props.rb', line 164

def ecs_services
  @ecs_services
end

#load_balancer_infoAWSCDK::IResolvable, ... (readonly)

Information about the load balancer to use in a deployment.

For more information, see Integrating CodeDeploy with Elastic Load Balancing in the AWS CodeDeploy User Guide .



171
172
173
# File 'code_deploy/cfn_deployment_group_props.rb', line 171

def load_balancer_info
  @load_balancer_info
end

#on_premises_instance_tag_filtersAWSCDK::IResolvable, ... (readonly)

The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.

CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. To register on-premises instances with CodeDeploy , see Working with On-Premises Instances for CodeDeploy in the AWS CodeDeploy User Guide . Duplicates are not allowed.

You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet , but not both.



180
181
182
# File 'code_deploy/cfn_deployment_group_props.rb', line 180

def on_premises_instance_tag_filters
  @on_premises_instance_tag_filters
end

#on_premises_tag_setAWSCDK::IResolvable, ... (readonly)

Information about groups of tags applied to on-premises instances.

The deployment group includes only on-premises instances identified by all the tag groups.

You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet , but not both.



189
190
191
# File 'code_deploy/cfn_deployment_group_props.rb', line 189

def on_premises_tag_set
  @on_premises_tag_set
end

#outdated_instances_strategyString? (readonly)

Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.

If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.

If this option is set to IGNORE , CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.



198
199
200
# File 'code_deploy/cfn_deployment_group_props.rb', line 198

def outdated_instances_strategy
  @outdated_instances_strategy
end

#service_role_arnString (readonly)

A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf.

For more information, see Create a Service Role for AWS CodeDeploy in the AWS CodeDeploy User Guide .

In some cases, you might need to add a dependency on the service role's policy. For more information, see IAM role policy in DependsOn Attribute .



85
86
87
# File 'code_deploy/cfn_deployment_group_props.rb', line 85

def service_role_arn
  @service_role_arn
end

#tagsArray<AWSCDK::CfnTag>? (readonly)

The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.

Each tag consists of a key and an optional value, both of which you define.



205
206
207
# File 'code_deploy/cfn_deployment_group_props.rb', line 205

def tags
  @tags
end

#termination_hook_enabledBoolean, ... (readonly)

Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.

For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the AWS CodeDeploy User Guide .



212
213
214
# File 'code_deploy/cfn_deployment_group_props.rb', line 212

def termination_hook_enabled
  @termination_hook_enabled
end

#trigger_configurationsAWSCDK::IResolvable, ... (readonly)

Information about triggers associated with the deployment group.

Duplicates are not allowed



219
220
221
# File 'code_deploy/cfn_deployment_group_props.rb', line 219

def trigger_configurations
  @trigger_configurations
end

Class Method Details

.jsii_propertiesObject



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'code_deploy/cfn_deployment_group_props.rb', line 221

def self.jsii_properties
  {
    :application_name => "applicationName",
    :service_role_arn => "serviceRoleArn",
    :alarm_configuration => "alarmConfiguration",
    :auto_rollback_configuration => "autoRollbackConfiguration",
    :auto_scaling_groups => "autoScalingGroups",
    :blue_green_deployment_configuration => "blueGreenDeploymentConfiguration",
    :deployment => "deployment",
    :deployment_config_name => "deploymentConfigName",
    :deployment_group_name => "deploymentGroupName",
    :deployment_style => "deploymentStyle",
    :ec2_tag_filters => "ec2TagFilters",
    :ec2_tag_set => "ec2TagSet",
    :ecs_services => "ecsServices",
    :load_balancer_info => "loadBalancerInfo",
    :on_premises_instance_tag_filters => "onPremisesInstanceTagFilters",
    :on_premises_tag_set => "onPremisesTagSet",
    :outdated_instances_strategy => "outdatedInstancesStrategy",
    :tags => "tags",
    :termination_hook_enabled => "terminationHookEnabled",
    :trigger_configurations => "triggerConfigurations",
  }
end

Instance Method Details

#to_jsiiObject



246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
# File 'code_deploy/cfn_deployment_group_props.rb', line 246

def to_jsii
  result = {}
  result.merge!({
    "applicationName" => @application_name,
    "serviceRoleArn" => @service_role_arn,
    "alarmConfiguration" => @alarm_configuration,
    "autoRollbackConfiguration" => @auto_rollback_configuration,
    "autoScalingGroups" => @auto_scaling_groups,
    "blueGreenDeploymentConfiguration" => @blue_green_deployment_configuration,
    "deployment" => @deployment,
    "deploymentConfigName" => @deployment_config_name,
    "deploymentGroupName" => @deployment_group_name,
    "deploymentStyle" => @deployment_style,
    "ec2TagFilters" => @ec2_tag_filters,
    "ec2TagSet" => @ec2_tag_set,
    "ecsServices" => @ecs_services,
    "loadBalancerInfo" => @load_balancer_info,
    "onPremisesInstanceTagFilters" => @on_premises_instance_tag_filters,
    "onPremisesTagSet" => @on_premises_tag_set,
    "outdatedInstancesStrategy" => @outdated_instances_strategy,
    "tags" => @tags,
    "terminationHookEnabled" => @termination_hook_enabled,
    "triggerConfigurations" => @trigger_configurations,
  })
  result.compact
end