Class CfnDeploymentGroupProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codedeploy.CfnDeploymentGroupProps.Jsii$Proxy
All Implemented Interfaces:
CfnDeploymentGroupProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnDeploymentGroupProps

@Stability(Stable) @Internal public static final class CfnDeploymentGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDeploymentGroupProps
An implementation for CfnDeploymentGroupProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnDeploymentGroupProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnDeploymentGroupProps.Builder.
  • Method Details

    • getApplicationName

      public final String getApplicationName()
      Description copied from interface: CfnDeploymentGroupProps
      The name of an existing CodeDeploy application to associate this deployment group with.
      Specified by:
      getApplicationName in interface CfnDeploymentGroupProps
    • getServiceRoleArn

      public final String getServiceRoleArn()
      Description copied from interface: CfnDeploymentGroupProps
      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 .

      Specified by:
      getServiceRoleArn in interface CfnDeploymentGroupProps
    • getAlarmConfiguration

      public final Object getAlarmConfiguration()
      Description copied from interface: CfnDeploymentGroupProps
      Information about the Amazon CloudWatch alarms that are associated with the deployment group.
      Specified by:
      getAlarmConfiguration in interface CfnDeploymentGroupProps
    • getAutoRollbackConfiguration

      public final Object getAutoRollbackConfiguration()
      Description copied from interface: CfnDeploymentGroupProps
      Information about the automatic rollback configuration that is associated with the deployment group.

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

      Specified by:
      getAutoRollbackConfiguration in interface CfnDeploymentGroupProps
    • getAutoScalingGroups

      public final List<String> getAutoScalingGroups()
      Description copied from interface: CfnDeploymentGroupProps
      A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.

      Duplicates are not allowed.

      Specified by:
      getAutoScalingGroups in interface CfnDeploymentGroupProps
    • getBlueGreenDeploymentConfiguration

      public final Object getBlueGreenDeploymentConfiguration()
      Description copied from interface: CfnDeploymentGroupProps
      Information about blue/green deployment options for a deployment group.
      Specified by:
      getBlueGreenDeploymentConfiguration in interface CfnDeploymentGroupProps
    • getDeployment

      public final Object getDeployment()
      Description copied from interface: CfnDeploymentGroupProps
      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.

      Specified by:
      getDeployment in interface CfnDeploymentGroupProps
    • getDeploymentConfigName

      public final String getDeploymentConfigName()
      Description copied from interface: CfnDeploymentGroupProps
      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 .

      Specified by:
      getDeploymentConfigName in interface CfnDeploymentGroupProps
    • getDeploymentGroupName

      public final String getDeploymentGroupName()
      Description copied from interface: CfnDeploymentGroupProps
      A name for the deployment group.

      If you don't specify a name, AWS 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.

      Specified by:
      getDeploymentGroupName in interface CfnDeploymentGroupProps
    • getDeploymentStyle

      public final Object getDeploymentStyle()
      Description copied from interface: CfnDeploymentGroupProps
      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, AWS 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 AWS CloudFormation for more information.

      Specified by:
      getDeploymentStyle in interface CfnDeploymentGroupProps
    • getEc2TagFilters

      public final Object getEc2TagFilters()
      Description copied from interface: CfnDeploymentGroupProps
      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.

      Specified by:
      getEc2TagFilters in interface CfnDeploymentGroupProps
    • getEc2TagSet

      public final Object getEc2TagSet()
      Description copied from interface: CfnDeploymentGroupProps
      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 ec2TagFilter .

      Specified by:
      getEc2TagSet in interface CfnDeploymentGroupProps
    • getEcsServices

      public final Object getEcsServices()
      Description copied from interface: CfnDeploymentGroupProps
      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> .

      Specified by:
      getEcsServices in interface CfnDeploymentGroupProps
    • getLoadBalancerInfo

      public final Object getLoadBalancerInfo()
      Description copied from interface: CfnDeploymentGroupProps
      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 .

      Specified by:
      getLoadBalancerInfo in interface CfnDeploymentGroupProps
    • getOnPremisesInstanceTagFilters

      public final Object getOnPremisesInstanceTagFilters()
      Description copied from interface: CfnDeploymentGroupProps
      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.

      Specified by:
      getOnPremisesInstanceTagFilters in interface CfnDeploymentGroupProps
    • getOnPremisesTagSet

      public final Object getOnPremisesTagSet()
      Description copied from interface: CfnDeploymentGroupProps
      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.

      Specified by:
      getOnPremisesTagSet in interface CfnDeploymentGroupProps
    • getOutdatedInstancesStrategy

      public final String getOutdatedInstancesStrategy()
      Description copied from interface: CfnDeploymentGroupProps
      AWS::CodeDeploy::DeploymentGroup.OutdatedInstancesStrategy.
      Specified by:
      getOutdatedInstancesStrategy in interface CfnDeploymentGroupProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnDeploymentGroupProps
      AWS::CodeDeploy::DeploymentGroup.Tags.
      Specified by:
      getTags in interface CfnDeploymentGroupProps
    • getTriggerConfigurations

      public final Object getTriggerConfigurations()
      Description copied from interface: CfnDeploymentGroupProps
      Information about triggers associated with the deployment group.

      Duplicates are not allowed

      Specified by:
      getTriggerConfigurations in interface CfnDeploymentGroupProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object