awscodedeploy

package
v1.114.0-devpreview Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnApplication_CFN_RESOURCE_TYPE_NAME

func CfnApplication_CFN_RESOURCE_TYPE_NAME() *string

func CfnApplication_IsCfnElement

func CfnApplication_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnApplication_IsCfnResource

func CfnApplication_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnApplication_IsConstruct

func CfnApplication_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CfnDeploymentConfig_CFN_RESOURCE_TYPE_NAME

func CfnDeploymentConfig_CFN_RESOURCE_TYPE_NAME() *string

func CfnDeploymentConfig_IsCfnElement

func CfnDeploymentConfig_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnDeploymentConfig_IsCfnResource

func CfnDeploymentConfig_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnDeploymentConfig_IsConstruct

func CfnDeploymentConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CfnDeploymentGroup_CFN_RESOURCE_TYPE_NAME

func CfnDeploymentGroup_CFN_RESOURCE_TYPE_NAME() *string

func CfnDeploymentGroup_IsCfnElement

func CfnDeploymentGroup_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnDeploymentGroup_IsCfnResource

func CfnDeploymentGroup_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnDeploymentGroup_IsConstruct

func CfnDeploymentGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CustomLambdaDeploymentConfig_IsConstruct

func CustomLambdaDeploymentConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CustomLambdaDeploymentConfig_IsResource

func CustomLambdaDeploymentConfig_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func EcsApplication_IsConstruct

func EcsApplication_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func EcsApplication_IsResource

func EcsApplication_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func LambdaApplication_IsConstruct

func LambdaApplication_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func LambdaApplication_IsResource

func LambdaApplication_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func LambdaDeploymentGroup_IsConstruct

func LambdaDeploymentGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func LambdaDeploymentGroup_IsResource

func LambdaDeploymentGroup_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func NewCfnApplication_Override

func NewCfnApplication_Override(c CfnApplication, scope awscdk.Construct, id *string, props *CfnApplicationProps)

Create a new `AWS::CodeDeploy::Application`.

func NewCfnDeploymentConfig_Override

func NewCfnDeploymentConfig_Override(c CfnDeploymentConfig, scope awscdk.Construct, id *string, props *CfnDeploymentConfigProps)

Create a new `AWS::CodeDeploy::DeploymentConfig`.

func NewCfnDeploymentGroup_Override

func NewCfnDeploymentGroup_Override(c CfnDeploymentGroup, scope awscdk.Construct, id *string, props *CfnDeploymentGroupProps)

Create a new `AWS::CodeDeploy::DeploymentGroup`.

func NewCustomLambdaDeploymentConfig_Override

func NewCustomLambdaDeploymentConfig_Override(c CustomLambdaDeploymentConfig, scope constructs.Construct, id *string, props *CustomLambdaDeploymentConfigProps)

Experimental.

func NewEcsApplication_Override

func NewEcsApplication_Override(e EcsApplication, scope constructs.Construct, id *string, props *EcsApplicationProps)

Experimental.

func NewInstanceTagSet_Override

func NewInstanceTagSet_Override(i InstanceTagSet, instanceTagGroups ...*map[string]*[]*string)

Experimental.

func NewLambdaApplication_Override

func NewLambdaApplication_Override(l LambdaApplication, scope constructs.Construct, id *string, props *LambdaApplicationProps)

Experimental.

func NewLambdaDeploymentGroup_Override

func NewLambdaDeploymentGroup_Override(l LambdaDeploymentGroup, scope constructs.Construct, id *string, props *LambdaDeploymentGroupProps)

Experimental.

func NewLoadBalancer_Override

func NewLoadBalancer_Override(l LoadBalancer)

Experimental.

func NewServerApplication_Override

func NewServerApplication_Override(s ServerApplication, scope constructs.Construct, id *string, props *ServerApplicationProps)

Experimental.

func NewServerDeploymentConfig_Override

func NewServerDeploymentConfig_Override(s ServerDeploymentConfig, scope constructs.Construct, id *string, props *ServerDeploymentConfigProps)

Experimental.

func NewServerDeploymentGroup_Override

func NewServerDeploymentGroup_Override(s ServerDeploymentGroup, scope constructs.Construct, id *string, props *ServerDeploymentGroupProps)

Experimental.

func ServerApplication_IsConstruct

func ServerApplication_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func ServerApplication_IsResource

func ServerApplication_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func ServerDeploymentConfig_IsConstruct

func ServerDeploymentConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func ServerDeploymentConfig_IsResource

func ServerDeploymentConfig_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func ServerDeploymentGroup_IsConstruct

func ServerDeploymentGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func ServerDeploymentGroup_IsResource

func ServerDeploymentGroup_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

Types

type AutoRollbackConfig

type AutoRollbackConfig struct {
	// Whether to automatically roll back a deployment during which one of the configured CloudWatch alarms for this Deployment Group went off.
	// Experimental.
	DeploymentInAlarm *bool `json:"deploymentInAlarm"`
	// Whether to automatically roll back a deployment that fails.
	// Experimental.
	FailedDeployment *bool `json:"failedDeployment"`
	// Whether to automatically roll back a deployment that was manually stopped.
	// Experimental.
	StoppedDeployment *bool `json:"stoppedDeployment"`
}

The configuration for automatically rolling back deployments in a given Deployment Group. Experimental.

type CfnApplication

type CfnApplication interface {
	awscdk.CfnResource
	awscdk.IInspectable
	ApplicationName() *string
	SetApplicationName(val *string)
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	ComputePlatform() *string
	SetComputePlatform(val *string)
	CreationStack() *[]*string
	LogicalId() *string
	Node() awscdk.ConstructNode
	Ref() *string
	Stack() awscdk.Stack
	Tags() awscdk.TagManager
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::CodeDeploy::Application`.

func NewCfnApplication

func NewCfnApplication(scope awscdk.Construct, id *string, props *CfnApplicationProps) CfnApplication

Create a new `AWS::CodeDeploy::Application`.

type CfnApplicationProps

type CfnApplicationProps struct {
	// `AWS::CodeDeploy::Application.ApplicationName`.
	ApplicationName *string `json:"applicationName"`
	// `AWS::CodeDeploy::Application.ComputePlatform`.
	ComputePlatform *string `json:"computePlatform"`
	// `AWS::CodeDeploy::Application.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::CodeDeploy::Application`.

type CfnDeploymentConfig

type CfnDeploymentConfig interface {
	awscdk.CfnResource
	awscdk.IInspectable
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	ComputePlatform() *string
	SetComputePlatform(val *string)
	CreationStack() *[]*string
	DeploymentConfigName() *string
	SetDeploymentConfigName(val *string)
	LogicalId() *string
	MinimumHealthyHosts() interface{}
	SetMinimumHealthyHosts(val interface{})
	Node() awscdk.ConstructNode
	Ref() *string
	Stack() awscdk.Stack
	TrafficRoutingConfig() interface{}
	SetTrafficRoutingConfig(val interface{})
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::CodeDeploy::DeploymentConfig`.

func NewCfnDeploymentConfig

func NewCfnDeploymentConfig(scope awscdk.Construct, id *string, props *CfnDeploymentConfigProps) CfnDeploymentConfig

Create a new `AWS::CodeDeploy::DeploymentConfig`.

type CfnDeploymentConfigProps

type CfnDeploymentConfigProps struct {
	// `AWS::CodeDeploy::DeploymentConfig.ComputePlatform`.
	ComputePlatform *string `json:"computePlatform"`
	// `AWS::CodeDeploy::DeploymentConfig.DeploymentConfigName`.
	DeploymentConfigName *string `json:"deploymentConfigName"`
	// `AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts`.
	MinimumHealthyHosts interface{} `json:"minimumHealthyHosts"`
	// `AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig`.
	TrafficRoutingConfig interface{} `json:"trafficRoutingConfig"`
}

Properties for defining a `AWS::CodeDeploy::DeploymentConfig`.

type CfnDeploymentConfig_MinimumHealthyHostsProperty

type CfnDeploymentConfig_MinimumHealthyHostsProperty struct {
	// `CfnDeploymentConfig.MinimumHealthyHostsProperty.Type`.
	Type *string `json:"type"`
	// `CfnDeploymentConfig.MinimumHealthyHostsProperty.Value`.
	Value *float64 `json:"value"`
}

type CfnDeploymentConfig_TimeBasedCanaryProperty

type CfnDeploymentConfig_TimeBasedCanaryProperty struct {
	// `CfnDeploymentConfig.TimeBasedCanaryProperty.CanaryInterval`.
	CanaryInterval *float64 `json:"canaryInterval"`
	// `CfnDeploymentConfig.TimeBasedCanaryProperty.CanaryPercentage`.
	CanaryPercentage *float64 `json:"canaryPercentage"`
}

type CfnDeploymentConfig_TimeBasedLinearProperty

type CfnDeploymentConfig_TimeBasedLinearProperty struct {
	// `CfnDeploymentConfig.TimeBasedLinearProperty.LinearInterval`.
	LinearInterval *float64 `json:"linearInterval"`
	// `CfnDeploymentConfig.TimeBasedLinearProperty.LinearPercentage`.
	LinearPercentage *float64 `json:"linearPercentage"`
}

type CfnDeploymentConfig_TrafficRoutingConfigProperty

type CfnDeploymentConfig_TrafficRoutingConfigProperty struct {
	// `CfnDeploymentConfig.TrafficRoutingConfigProperty.Type`.
	Type *string `json:"type"`
	// `CfnDeploymentConfig.TrafficRoutingConfigProperty.TimeBasedCanary`.
	TimeBasedCanary interface{} `json:"timeBasedCanary"`
	// `CfnDeploymentConfig.TrafficRoutingConfigProperty.TimeBasedLinear`.
	TimeBasedLinear interface{} `json:"timeBasedLinear"`
}

type CfnDeploymentGroup

type CfnDeploymentGroup interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AlarmConfiguration() interface{}
	SetAlarmConfiguration(val interface{})
	ApplicationName() *string
	SetApplicationName(val *string)
	AutoRollbackConfiguration() interface{}
	SetAutoRollbackConfiguration(val interface{})
	AutoScalingGroups() *[]*string
	SetAutoScalingGroups(val *[]*string)
	BlueGreenDeploymentConfiguration() interface{}
	SetBlueGreenDeploymentConfiguration(val interface{})
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	Deployment() interface{}
	SetDeployment(val interface{})
	DeploymentConfigName() *string
	SetDeploymentConfigName(val *string)
	DeploymentGroupName() *string
	SetDeploymentGroupName(val *string)
	DeploymentStyle() interface{}
	SetDeploymentStyle(val interface{})
	Ec2TagFilters() interface{}
	SetEc2TagFilters(val interface{})
	Ec2TagSet() interface{}
	SetEc2TagSet(val interface{})
	EcsServices() interface{}
	SetEcsServices(val interface{})
	LoadBalancerInfo() interface{}
	SetLoadBalancerInfo(val interface{})
	LogicalId() *string
	Node() awscdk.ConstructNode
	OnPremisesInstanceTagFilters() interface{}
	SetOnPremisesInstanceTagFilters(val interface{})
	OnPremisesTagSet() interface{}
	SetOnPremisesTagSet(val interface{})
	Ref() *string
	ServiceRoleArn() *string
	SetServiceRoleArn(val *string)
	Stack() awscdk.Stack
	TriggerConfigurations() interface{}
	SetTriggerConfigurations(val interface{})
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::CodeDeploy::DeploymentGroup`.

func NewCfnDeploymentGroup

func NewCfnDeploymentGroup(scope awscdk.Construct, id *string, props *CfnDeploymentGroupProps) CfnDeploymentGroup

Create a new `AWS::CodeDeploy::DeploymentGroup`.

type CfnDeploymentGroupProps

type CfnDeploymentGroupProps struct {
	// `AWS::CodeDeploy::DeploymentGroup.ApplicationName`.
	ApplicationName *string `json:"applicationName"`
	// `AWS::CodeDeploy::DeploymentGroup.ServiceRoleArn`.
	ServiceRoleArn *string `json:"serviceRoleArn"`
	// `AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration`.
	AlarmConfiguration interface{} `json:"alarmConfiguration"`
	// `AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration`.
	AutoRollbackConfiguration interface{} `json:"autoRollbackConfiguration"`
	// `AWS::CodeDeploy::DeploymentGroup.AutoScalingGroups`.
	AutoScalingGroups *[]*string `json:"autoScalingGroups"`
	// `AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration`.
	BlueGreenDeploymentConfiguration interface{} `json:"blueGreenDeploymentConfiguration"`
	// `AWS::CodeDeploy::DeploymentGroup.Deployment`.
	Deployment interface{} `json:"deployment"`
	// `AWS::CodeDeploy::DeploymentGroup.DeploymentConfigName`.
	DeploymentConfigName *string `json:"deploymentConfigName"`
	// `AWS::CodeDeploy::DeploymentGroup.DeploymentGroupName`.
	DeploymentGroupName *string `json:"deploymentGroupName"`
	// `AWS::CodeDeploy::DeploymentGroup.DeploymentStyle`.
	DeploymentStyle interface{} `json:"deploymentStyle"`
	// `AWS::CodeDeploy::DeploymentGroup.Ec2TagFilters`.
	Ec2TagFilters interface{} `json:"ec2TagFilters"`
	// `AWS::CodeDeploy::DeploymentGroup.Ec2TagSet`.
	Ec2TagSet interface{} `json:"ec2TagSet"`
	// `AWS::CodeDeploy::DeploymentGroup.ECSServices`.
	EcsServices interface{} `json:"ecsServices"`
	// `AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo`.
	LoadBalancerInfo interface{} `json:"loadBalancerInfo"`
	// `AWS::CodeDeploy::DeploymentGroup.OnPremisesInstanceTagFilters`.
	OnPremisesInstanceTagFilters interface{} `json:"onPremisesInstanceTagFilters"`
	// `AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet`.
	OnPremisesTagSet interface{} `json:"onPremisesTagSet"`
	// `AWS::CodeDeploy::DeploymentGroup.TriggerConfigurations`.
	TriggerConfigurations interface{} `json:"triggerConfigurations"`
}

Properties for defining a `AWS::CodeDeploy::DeploymentGroup`.

type CfnDeploymentGroup_AlarmConfigurationProperty

type CfnDeploymentGroup_AlarmConfigurationProperty struct {
	// `CfnDeploymentGroup.AlarmConfigurationProperty.Alarms`.
	Alarms interface{} `json:"alarms"`
	// `CfnDeploymentGroup.AlarmConfigurationProperty.Enabled`.
	Enabled interface{} `json:"enabled"`
	// `CfnDeploymentGroup.AlarmConfigurationProperty.IgnorePollAlarmFailure`.
	IgnorePollAlarmFailure interface{} `json:"ignorePollAlarmFailure"`
}

type CfnDeploymentGroup_AlarmProperty

type CfnDeploymentGroup_AlarmProperty struct {
	// `CfnDeploymentGroup.AlarmProperty.Name`.
	Name *string `json:"name"`
}

type CfnDeploymentGroup_AutoRollbackConfigurationProperty

type CfnDeploymentGroup_AutoRollbackConfigurationProperty struct {
	// `CfnDeploymentGroup.AutoRollbackConfigurationProperty.Enabled`.
	Enabled interface{} `json:"enabled"`
	// `CfnDeploymentGroup.AutoRollbackConfigurationProperty.Events`.
	Events *[]*string `json:"events"`
}

type CfnDeploymentGroup_BlueGreenDeploymentConfigurationProperty

type CfnDeploymentGroup_BlueGreenDeploymentConfigurationProperty struct {
	// `CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty.DeploymentReadyOption`.
	DeploymentReadyOption interface{} `json:"deploymentReadyOption"`
	// `CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty.GreenFleetProvisioningOption`.
	GreenFleetProvisioningOption interface{} `json:"greenFleetProvisioningOption"`
	// `CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty.TerminateBlueInstancesOnDeploymentSuccess`.
	TerminateBlueInstancesOnDeploymentSuccess interface{} `json:"terminateBlueInstancesOnDeploymentSuccess"`
}

type CfnDeploymentGroup_BlueInstanceTerminationOptionProperty

type CfnDeploymentGroup_BlueInstanceTerminationOptionProperty struct {
	// `CfnDeploymentGroup.BlueInstanceTerminationOptionProperty.Action`.
	Action *string `json:"action"`
	// `CfnDeploymentGroup.BlueInstanceTerminationOptionProperty.TerminationWaitTimeInMinutes`.
	TerminationWaitTimeInMinutes *float64 `json:"terminationWaitTimeInMinutes"`
}

type CfnDeploymentGroup_DeploymentProperty

type CfnDeploymentGroup_DeploymentProperty struct {
	// `CfnDeploymentGroup.DeploymentProperty.Revision`.
	Revision interface{} `json:"revision"`
	// `CfnDeploymentGroup.DeploymentProperty.Description`.
	Description *string `json:"description"`
	// `CfnDeploymentGroup.DeploymentProperty.IgnoreApplicationStopFailures`.
	IgnoreApplicationStopFailures interface{} `json:"ignoreApplicationStopFailures"`
}

type CfnDeploymentGroup_DeploymentReadyOptionProperty

type CfnDeploymentGroup_DeploymentReadyOptionProperty struct {
	// `CfnDeploymentGroup.DeploymentReadyOptionProperty.ActionOnTimeout`.
	ActionOnTimeout *string `json:"actionOnTimeout"`
	// `CfnDeploymentGroup.DeploymentReadyOptionProperty.WaitTimeInMinutes`.
	WaitTimeInMinutes *float64 `json:"waitTimeInMinutes"`
}

type CfnDeploymentGroup_DeploymentStyleProperty

type CfnDeploymentGroup_DeploymentStyleProperty struct {
	// `CfnDeploymentGroup.DeploymentStyleProperty.DeploymentOption`.
	DeploymentOption *string `json:"deploymentOption"`
	// `CfnDeploymentGroup.DeploymentStyleProperty.DeploymentType`.
	DeploymentType *string `json:"deploymentType"`
}

type CfnDeploymentGroup_EC2TagFilterProperty

type CfnDeploymentGroup_EC2TagFilterProperty struct {
	// `CfnDeploymentGroup.EC2TagFilterProperty.Key`.
	Key *string `json:"key"`
	// `CfnDeploymentGroup.EC2TagFilterProperty.Type`.
	Type *string `json:"type"`
	// `CfnDeploymentGroup.EC2TagFilterProperty.Value`.
	Value *string `json:"value"`
}

type CfnDeploymentGroup_EC2TagSetListObjectProperty

type CfnDeploymentGroup_EC2TagSetListObjectProperty struct {
	// `CfnDeploymentGroup.EC2TagSetListObjectProperty.Ec2TagGroup`.
	Ec2TagGroup interface{} `json:"ec2TagGroup"`
}

type CfnDeploymentGroup_EC2TagSetProperty

type CfnDeploymentGroup_EC2TagSetProperty struct {
	// `CfnDeploymentGroup.EC2TagSetProperty.Ec2TagSetList`.
	Ec2TagSetList interface{} `json:"ec2TagSetList"`
}

type CfnDeploymentGroup_ECSServiceProperty

type CfnDeploymentGroup_ECSServiceProperty struct {
	// `CfnDeploymentGroup.ECSServiceProperty.ClusterName`.
	ClusterName *string `json:"clusterName"`
	// `CfnDeploymentGroup.ECSServiceProperty.ServiceName`.
	ServiceName *string `json:"serviceName"`
}

type CfnDeploymentGroup_ELBInfoProperty

type CfnDeploymentGroup_ELBInfoProperty struct {
	// `CfnDeploymentGroup.ELBInfoProperty.Name`.
	Name *string `json:"name"`
}

type CfnDeploymentGroup_GitHubLocationProperty

type CfnDeploymentGroup_GitHubLocationProperty struct {
	// `CfnDeploymentGroup.GitHubLocationProperty.CommitId`.
	CommitId *string `json:"commitId"`
	// `CfnDeploymentGroup.GitHubLocationProperty.Repository`.
	Repository *string `json:"repository"`
}

type CfnDeploymentGroup_GreenFleetProvisioningOptionProperty

type CfnDeploymentGroup_GreenFleetProvisioningOptionProperty struct {
	// `CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.Action`.
	Action *string `json:"action"`
}

type CfnDeploymentGroup_LoadBalancerInfoProperty

type CfnDeploymentGroup_LoadBalancerInfoProperty struct {
	// `CfnDeploymentGroup.LoadBalancerInfoProperty.ElbInfoList`.
	ElbInfoList interface{} `json:"elbInfoList"`
	// `CfnDeploymentGroup.LoadBalancerInfoProperty.TargetGroupInfoList`.
	TargetGroupInfoList interface{} `json:"targetGroupInfoList"`
}

type CfnDeploymentGroup_OnPremisesTagSetListObjectProperty

type CfnDeploymentGroup_OnPremisesTagSetListObjectProperty struct {
	// `CfnDeploymentGroup.OnPremisesTagSetListObjectProperty.OnPremisesTagGroup`.
	OnPremisesTagGroup interface{} `json:"onPremisesTagGroup"`
}

type CfnDeploymentGroup_OnPremisesTagSetProperty

type CfnDeploymentGroup_OnPremisesTagSetProperty struct {
	// `CfnDeploymentGroup.OnPremisesTagSetProperty.OnPremisesTagSetList`.
	OnPremisesTagSetList interface{} `json:"onPremisesTagSetList"`
}

type CfnDeploymentGroup_RevisionLocationProperty

type CfnDeploymentGroup_RevisionLocationProperty struct {
	// `CfnDeploymentGroup.RevisionLocationProperty.GitHubLocation`.
	GitHubLocation interface{} `json:"gitHubLocation"`
	// `CfnDeploymentGroup.RevisionLocationProperty.RevisionType`.
	RevisionType *string `json:"revisionType"`
	// `CfnDeploymentGroup.RevisionLocationProperty.S3Location`.
	S3Location interface{} `json:"s3Location"`
}

type CfnDeploymentGroup_S3LocationProperty

type CfnDeploymentGroup_S3LocationProperty struct {
	// `CfnDeploymentGroup.S3LocationProperty.Bucket`.
	Bucket *string `json:"bucket"`
	// `CfnDeploymentGroup.S3LocationProperty.Key`.
	Key *string `json:"key"`
	// `CfnDeploymentGroup.S3LocationProperty.BundleType`.
	BundleType *string `json:"bundleType"`
	// `CfnDeploymentGroup.S3LocationProperty.ETag`.
	ETag *string `json:"eTag"`
	// `CfnDeploymentGroup.S3LocationProperty.Version`.
	Version *string `json:"version"`
}

type CfnDeploymentGroup_TagFilterProperty

type CfnDeploymentGroup_TagFilterProperty struct {
	// `CfnDeploymentGroup.TagFilterProperty.Key`.
	Key *string `json:"key"`
	// `CfnDeploymentGroup.TagFilterProperty.Type`.
	Type *string `json:"type"`
	// `CfnDeploymentGroup.TagFilterProperty.Value`.
	Value *string `json:"value"`
}

type CfnDeploymentGroup_TargetGroupInfoProperty

type CfnDeploymentGroup_TargetGroupInfoProperty struct {
	// `CfnDeploymentGroup.TargetGroupInfoProperty.Name`.
	Name *string `json:"name"`
}

type CfnDeploymentGroup_TriggerConfigProperty

type CfnDeploymentGroup_TriggerConfigProperty struct {
	// `CfnDeploymentGroup.TriggerConfigProperty.TriggerEvents`.
	TriggerEvents *[]*string `json:"triggerEvents"`
	// `CfnDeploymentGroup.TriggerConfigProperty.TriggerName`.
	TriggerName *string `json:"triggerName"`
	// `CfnDeploymentGroup.TriggerConfigProperty.TriggerTargetArn`.
	TriggerTargetArn *string `json:"triggerTargetArn"`
}

type CustomLambdaDeploymentConfig

type CustomLambdaDeploymentConfig interface {
	awscdk.Resource
	ILambdaDeploymentConfig
	DeploymentConfigArn() *string
	DeploymentConfigName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

A custom Deployment Configuration for a Lambda Deployment Group. Experimental.

func NewCustomLambdaDeploymentConfig

func NewCustomLambdaDeploymentConfig(scope constructs.Construct, id *string, props *CustomLambdaDeploymentConfigProps) CustomLambdaDeploymentConfig

Experimental.

type CustomLambdaDeploymentConfigProps

type CustomLambdaDeploymentConfigProps struct {
	// The interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.
	// Experimental.
	Interval awscdk.Duration `json:"interval"`
	// The integer percentage of traffic to shift: - For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment.
	// Experimental.
	Percentage *float64 `json:"percentage"`
	// The type of deployment config, either CANARY or LINEAR.
	// Experimental.
	Type CustomLambdaDeploymentConfigType `json:"type"`
	// The verbatim name of the deployment config.
	//
	// Must be unique per account/region.
	// Other parameters cannot be updated if this name is provided.
	// Experimental.
	DeploymentConfigName *string `json:"deploymentConfigName"`
}

Properties of a reference to a CodeDeploy Lambda Deployment Configuration. Experimental.

type CustomLambdaDeploymentConfigType

type CustomLambdaDeploymentConfigType string

Lambda Deployment config type. Experimental.

const (
	CustomLambdaDeploymentConfigType_CANARY CustomLambdaDeploymentConfigType = "CANARY"
	CustomLambdaDeploymentConfigType_LINEAR CustomLambdaDeploymentConfigType = "LINEAR"
)

type EcsApplication

type EcsApplication interface {
	awscdk.Resource
	IEcsApplication
	ApplicationArn() *string
	ApplicationName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

A CodeDeploy Application that deploys to an Amazon ECS service. Experimental.

func NewEcsApplication

func NewEcsApplication(scope constructs.Construct, id *string, props *EcsApplicationProps) EcsApplication

Experimental.

type EcsApplicationProps

type EcsApplicationProps struct {
	// The physical, human-readable name of the CodeDeploy Application.
	// Experimental.
	ApplicationName *string `json:"applicationName"`
}

Construction properties for {@link EcsApplication}. Experimental.

type EcsDeploymentConfig

type EcsDeploymentConfig interface {
}

A custom Deployment Configuration for an ECS Deployment Group.

Note: This class currently stands as namespaced container of the default configurations until CloudFormation supports custom ECS Deployment Configs. Until then it is closed (private constructor) and does not extend {@link cdk.Construct} Experimental.

type EcsDeploymentGroup

type EcsDeploymentGroup interface {
}

Note: This class currently stands as a namespaced container for importing an ECS Deployment Group defined outside the CDK app until CloudFormation supports provisioning ECS Deployment Groups.

Until then it is closed (private constructor) and does not extend {@link cdk.Construct}. Experimental.

type EcsDeploymentGroupAttributes

type EcsDeploymentGroupAttributes struct {
	// The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.
	// Experimental.
	Application IEcsApplication `json:"application"`
	// The physical, human-readable name of the CodeDeploy ECS Deployment Group that we are referencing.
	// Experimental.
	DeploymentGroupName *string `json:"deploymentGroupName"`
	// The Deployment Configuration this Deployment Group uses.
	// Experimental.
	DeploymentConfig IEcsDeploymentConfig `json:"deploymentConfig"`
}

Properties of a reference to a CodeDeploy ECS Deployment Group. See: EcsDeploymentGroup#fromEcsDeploymentGroupAttributes

Experimental.

type IEcsApplication

type IEcsApplication interface {
	awscdk.IResource
	// Experimental.
	ApplicationArn() *string
	// Experimental.
	ApplicationName() *string
}

Represents a reference to a CodeDeploy Application deploying to Amazon ECS.

If you're managing the Application alongside the rest of your CDK resources, use the {@link EcsApplication} class.

If you want to reference an already existing Application, or one defined in a different CDK Stack, use the {@link EcsApplication#fromEcsApplicationName} method. Experimental.

func EcsApplication_FromEcsApplicationName

func EcsApplication_FromEcsApplicationName(scope constructs.Construct, id *string, ecsApplicationName *string) IEcsApplication

Import an Application defined either outside the CDK, or in a different CDK Stack.

Returns: a Construct representing a reference to an existing Application Experimental.

type IEcsDeploymentConfig

type IEcsDeploymentConfig interface {
	// Experimental.
	DeploymentConfigArn() *string
	// Experimental.
	DeploymentConfigName() *string
}

The Deployment Configuration of an ECS Deployment Group.

The default, pre-defined Configurations are available as constants on the {@link EcsDeploymentConfig} class (for example, `EcsDeploymentConfig.AllAtOnce`).

Note: CloudFormation does not currently support creating custom ECS configs outside of using a custom resource. You can import custom deployment config created outside the CDK or via a custom resource with {@link EcsDeploymentConfig#fromEcsDeploymentConfigName}. Experimental.

func EcsDeploymentConfig_ALL_AT_ONCE

func EcsDeploymentConfig_ALL_AT_ONCE() IEcsDeploymentConfig

func EcsDeploymentConfig_FromEcsDeploymentConfigName

func EcsDeploymentConfig_FromEcsDeploymentConfigName(_scope constructs.Construct, _id *string, ecsDeploymentConfigName *string) IEcsDeploymentConfig

Import a custom Deployment Configuration for an ECS Deployment Group defined outside the CDK.

Returns: a Construct representing a reference to an existing custom Deployment Configuration Experimental.

type IEcsDeploymentGroup

type IEcsDeploymentGroup interface {
	awscdk.IResource
	// The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.
	// Experimental.
	Application() IEcsApplication
	// The Deployment Configuration this Group uses.
	// Experimental.
	DeploymentConfig() IEcsDeploymentConfig
	// The ARN of this Deployment Group.
	// Experimental.
	DeploymentGroupArn() *string
	// The physical name of the CodeDeploy Deployment Group.
	// Experimental.
	DeploymentGroupName() *string
}

Interface for an ECS deployment group. Experimental.

func EcsDeploymentGroup_FromEcsDeploymentGroupAttributes

func EcsDeploymentGroup_FromEcsDeploymentGroupAttributes(scope constructs.Construct, id *string, attrs *EcsDeploymentGroupAttributes) IEcsDeploymentGroup

Import an ECS Deployment Group defined outside the CDK app.

Returns: a Construct representing a reference to an existing Deployment Group Experimental.

type ILambdaApplication

type ILambdaApplication interface {
	awscdk.IResource
	// Experimental.
	ApplicationArn() *string
	// Experimental.
	ApplicationName() *string
}

Represents a reference to a CodeDeploy Application deploying to AWS Lambda.

If you're managing the Application alongside the rest of your CDK resources, use the {@link LambdaApplication} class.

If you want to reference an already existing Application, or one defined in a different CDK Stack, use the {@link LambdaApplication#fromLambdaApplicationName} method. Experimental.

func LambdaApplication_FromLambdaApplicationName

func LambdaApplication_FromLambdaApplicationName(scope constructs.Construct, id *string, lambdaApplicationName *string) ILambdaApplication

Import an Application defined either outside the CDK, or in a different CDK Stack.

Returns: a Construct representing a reference to an existing Application Experimental.

type ILambdaDeploymentConfig

type ILambdaDeploymentConfig interface {
	// Experimental.
	DeploymentConfigArn() *string
	// Experimental.
	DeploymentConfigName() *string
}

The Deployment Configuration of a Lambda Deployment Group.

The default, pre-defined Configurations are available as constants on the {@link LambdaDeploymentConfig} class (`LambdaDeploymentConfig.AllAtOnce`, `LambdaDeploymentConfig.Canary10Percent30Minutes`, etc.).

Note: CloudFormation does not currently support creating custom lambda configs outside of using a custom resource. You can import custom deployment config created outside the CDK or via a custom resource with {@link LambdaDeploymentConfig#import}. Experimental.

func LambdaDeploymentConfig_ALL_AT_ONCE

func LambdaDeploymentConfig_ALL_AT_ONCE() ILambdaDeploymentConfig

func LambdaDeploymentConfig_CANARY_10PERCENT_10MINUTES

func LambdaDeploymentConfig_CANARY_10PERCENT_10MINUTES() ILambdaDeploymentConfig

func LambdaDeploymentConfig_CANARY_10PERCENT_15MINUTES

func LambdaDeploymentConfig_CANARY_10PERCENT_15MINUTES() ILambdaDeploymentConfig

func LambdaDeploymentConfig_CANARY_10PERCENT_30MINUTES

func LambdaDeploymentConfig_CANARY_10PERCENT_30MINUTES() ILambdaDeploymentConfig

func LambdaDeploymentConfig_CANARY_10PERCENT_5MINUTES

func LambdaDeploymentConfig_CANARY_10PERCENT_5MINUTES() ILambdaDeploymentConfig

func LambdaDeploymentConfig_Import

func LambdaDeploymentConfig_Import(_scope constructs.Construct, _id *string, props *LambdaDeploymentConfigImportProps) ILambdaDeploymentConfig

Import a custom Deployment Configuration for a Lambda Deployment Group defined outside the CDK.

Returns: a Construct representing a reference to an existing custom Deployment Configuration Experimental.

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_10MINUTES

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_10MINUTES() ILambdaDeploymentConfig

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_1MINUTE

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_1MINUTE() ILambdaDeploymentConfig

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_2MINUTES

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_2MINUTES() ILambdaDeploymentConfig

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_3MINUTES

func LambdaDeploymentConfig_LINEAR_10PERCENT_EVERY_3MINUTES() ILambdaDeploymentConfig

type ILambdaDeploymentGroup

type ILambdaDeploymentGroup interface {
	awscdk.IResource
	// The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
	// Experimental.
	Application() ILambdaApplication
	// The Deployment Configuration this Group uses.
	// Experimental.
	DeploymentConfig() ILambdaDeploymentConfig
	// The ARN of this Deployment Group.
	// Experimental.
	DeploymentGroupArn() *string
	// The physical name of the CodeDeploy Deployment Group.
	// Experimental.
	DeploymentGroupName() *string
}

Interface for a Lambda deployment groups. Experimental.

func LambdaDeploymentGroup_FromLambdaDeploymentGroupAttributes

func LambdaDeploymentGroup_FromLambdaDeploymentGroupAttributes(scope constructs.Construct, id *string, attrs *LambdaDeploymentGroupAttributes) ILambdaDeploymentGroup

Import an Lambda Deployment Group defined either outside the CDK app, or in a different AWS region.

Returns: a Construct representing a reference to an existing Deployment Group Experimental.

type IServerApplication

type IServerApplication interface {
	awscdk.IResource
	// Experimental.
	ApplicationArn() *string
	// Experimental.
	ApplicationName() *string
}

Represents a reference to a CodeDeploy Application deploying to EC2/on-premise instances.

If you're managing the Application alongside the rest of your CDK resources, use the {@link ServerApplication} class.

If you want to reference an already existing Application, or one defined in a different CDK Stack, use the {@link #fromServerApplicationName} method. Experimental.

func ServerApplication_FromServerApplicationName

func ServerApplication_FromServerApplicationName(scope constructs.Construct, id *string, serverApplicationName *string) IServerApplication

Import an Application defined either outside the CDK app, or in a different region.

Returns: a Construct representing a reference to an existing Application Experimental.

type IServerDeploymentConfig

type IServerDeploymentConfig interface {
	// Experimental.
	DeploymentConfigArn() *string
	// Experimental.
	DeploymentConfigName() *string
}

The Deployment Configuration of an EC2/on-premise Deployment Group.

The default, pre-defined Configurations are available as constants on the {@link ServerDeploymentConfig} class (`ServerDeploymentConfig.HALF_AT_A_TIME`, `ServerDeploymentConfig.ALL_AT_ONCE`, etc.). To create a custom Deployment Configuration, instantiate the {@link ServerDeploymentConfig} Construct. Experimental.

func ServerDeploymentConfig_ALL_AT_ONCE

func ServerDeploymentConfig_ALL_AT_ONCE() IServerDeploymentConfig

func ServerDeploymentConfig_FromServerDeploymentConfigName

func ServerDeploymentConfig_FromServerDeploymentConfigName(scope constructs.Construct, id *string, serverDeploymentConfigName *string) IServerDeploymentConfig

Import a custom Deployment Configuration for an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.

Returns: a Construct representing a reference to an existing custom Deployment Configuration Experimental.

func ServerDeploymentConfig_HALF_AT_A_TIME

func ServerDeploymentConfig_HALF_AT_A_TIME() IServerDeploymentConfig

func ServerDeploymentConfig_ONE_AT_A_TIME

func ServerDeploymentConfig_ONE_AT_A_TIME() IServerDeploymentConfig

type IServerDeploymentGroup

type IServerDeploymentGroup interface {
	awscdk.IResource
	// Experimental.
	Application() IServerApplication
	// Experimental.
	AutoScalingGroups() *[]awsautoscaling.IAutoScalingGroup
	// Experimental.
	DeploymentConfig() IServerDeploymentConfig
	// Experimental.
	DeploymentGroupArn() *string
	// Experimental.
	DeploymentGroupName() *string
	// Experimental.
	Role() awsiam.IRole
}

Experimental.

func ServerDeploymentGroup_FromServerDeploymentGroupAttributes

func ServerDeploymentGroup_FromServerDeploymentGroupAttributes(scope constructs.Construct, id *string, attrs *ServerDeploymentGroupAttributes) IServerDeploymentGroup

Import an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.

Returns: a Construct representing a reference to an existing Deployment Group Experimental.

type InstanceTagSet

type InstanceTagSet interface {
	InstanceTagGroups() *[]*map[string]*[]*string
}

Represents a set of instance tag groups.

An instance will match a set if it matches all of the groups in the set - in other words, sets follow 'and' semantics. You can have a maximum of 3 tag groups inside a set. Experimental.

func NewInstanceTagSet

func NewInstanceTagSet(instanceTagGroups ...*map[string]*[]*string) InstanceTagSet

Experimental.

type LambdaApplication

type LambdaApplication interface {
	awscdk.Resource
	ILambdaApplication
	ApplicationArn() *string
	ApplicationName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

A CodeDeploy Application that deploys to an AWS Lambda function. Experimental.

func NewLambdaApplication

func NewLambdaApplication(scope constructs.Construct, id *string, props *LambdaApplicationProps) LambdaApplication

Experimental.

type LambdaApplicationProps

type LambdaApplicationProps struct {
	// The physical, human-readable name of the CodeDeploy Application.
	// Experimental.
	ApplicationName *string `json:"applicationName"`
}

Construction properties for {@link LambdaApplication}. Experimental.

type LambdaDeploymentConfig

type LambdaDeploymentConfig interface {
}

A custom Deployment Configuration for a Lambda Deployment Group.

Note: This class currently stands as namespaced container of the default configurations until CloudFormation supports custom Lambda Deployment Configs. Until then it is closed (private constructor) and does not extend {@link cdk.Construct} Experimental.

type LambdaDeploymentConfigImportProps

type LambdaDeploymentConfigImportProps struct {
	// The physical, human-readable name of the custom CodeDeploy Lambda Deployment Configuration that we are referencing.
	// Experimental.
	DeploymentConfigName *string `json:"deploymentConfigName"`
}

Properties of a reference to a CodeDeploy Lambda Deployment Configuration. See: LambdaDeploymentConfig#import

Experimental.

type LambdaDeploymentGroup

type LambdaDeploymentGroup interface {
	awscdk.Resource
	ILambdaDeploymentGroup
	Application() ILambdaApplication
	DeploymentConfig() ILambdaDeploymentConfig
	DeploymentGroupArn() *string
	DeploymentGroupName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Role() awsiam.IRole
	Stack() awscdk.Stack
	AddAlarm(alarm awscloudwatch.IAlarm)
	AddPostHook(postHook awslambda.IFunction)
	AddPreHook(preHook awslambda.IFunction)
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	GrantPutLifecycleEventHookExecutionStatus(grantee awsiam.IGrantable) awsiam.Grant
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

Experimental.

func NewLambdaDeploymentGroup

func NewLambdaDeploymentGroup(scope constructs.Construct, id *string, props *LambdaDeploymentGroupProps) LambdaDeploymentGroup

Experimental.

type LambdaDeploymentGroupAttributes

type LambdaDeploymentGroupAttributes struct {
	// The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
	// Experimental.
	Application ILambdaApplication `json:"application"`
	// The physical, human-readable name of the CodeDeploy Lambda Deployment Group that we are referencing.
	// Experimental.
	DeploymentGroupName *string `json:"deploymentGroupName"`
	// The Deployment Configuration this Deployment Group uses.
	// Experimental.
	DeploymentConfig ILambdaDeploymentConfig `json:"deploymentConfig"`
}

Properties of a reference to a CodeDeploy Lambda Deployment Group. See: LambdaDeploymentGroup#fromLambdaDeploymentGroupAttributes

Experimental.

type LambdaDeploymentGroupProps

type LambdaDeploymentGroupProps struct {
	// Lambda Alias to shift traffic. Updating the version of the alias will trigger a CodeDeploy deployment.
	//
	// [disable-awslint:ref-via-interface] since we need to modify the alias CFN resource update policy
	// Experimental.
	Alias awslambda.Alias `json:"alias"`
	// The CloudWatch alarms associated with this Deployment Group.
	//
	// CodeDeploy will stop (and optionally roll back)
	// a deployment if during it any of the alarms trigger.
	//
	// Alarms can also be added after the Deployment Group is created using the {@link #addAlarm} method.
	// See: https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.html
	//
	// Experimental.
	Alarms *[]awscloudwatch.IAlarm `json:"alarms"`
	// The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
	// Experimental.
	Application ILambdaApplication `json:"application"`
	// The auto-rollback configuration for this Deployment Group.
	// Experimental.
	AutoRollback *AutoRollbackConfig `json:"autoRollback"`
	// The Deployment Configuration this Deployment Group uses.
	// Experimental.
	DeploymentConfig ILambdaDeploymentConfig `json:"deploymentConfig"`
	// The physical, human-readable name of the CodeDeploy Deployment Group.
	// Experimental.
	DeploymentGroupName *string `json:"deploymentGroupName"`
	// Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
	// Experimental.
	IgnorePollAlarmsFailure *bool `json:"ignorePollAlarmsFailure"`
	// The Lambda function to run after traffic routing starts.
	// Experimental.
	PostHook awslambda.IFunction `json:"postHook"`
	// The Lambda function to run before traffic routing starts.
	// Experimental.
	PreHook awslambda.IFunction `json:"preHook"`
	// The service Role of this Deployment Group.
	// Experimental.
	Role awsiam.IRole `json:"role"`
}

Construction properties for {@link LambdaDeploymentGroup}. Experimental.

type LoadBalancer

type LoadBalancer interface {
	Generation() LoadBalancerGeneration
	Name() *string
}

An interface of an abstract load balancer, as needed by CodeDeploy.

Create instances using the static factory methods: {@link #classic}, {@link #application} and {@link #network}. Experimental.

func LoadBalancer_Application

func LoadBalancer_Application(albTargetGroup awselasticloadbalancingv2.ApplicationTargetGroup) LoadBalancer

Creates a new CodeDeploy load balancer from an Application Load Balancer Target Group. Experimental.

func LoadBalancer_Classic

func LoadBalancer_Classic(loadBalancer awselasticloadbalancing.LoadBalancer) LoadBalancer

Creates a new CodeDeploy load balancer from a Classic ELB Load Balancer. Experimental.

func LoadBalancer_Network

func LoadBalancer_Network(nlbTargetGroup awselasticloadbalancingv2.NetworkTargetGroup) LoadBalancer

Creates a new CodeDeploy load balancer from a Network Load Balancer Target Group. Experimental.

type LoadBalancerGeneration

type LoadBalancerGeneration string

The generations of AWS load balancing solutions. Experimental.

const (
	LoadBalancerGeneration_FIRST  LoadBalancerGeneration = "FIRST"
	LoadBalancerGeneration_SECOND LoadBalancerGeneration = "SECOND"
)

type MinimumHealthyHosts

type MinimumHealthyHosts interface {
}

Minimum number of healthy hosts for a server deployment. Experimental.

func MinimumHealthyHosts_Count

func MinimumHealthyHosts_Count(value *float64) MinimumHealthyHosts

The minimum healhty hosts threshold expressed as an absolute number. Experimental.

func MinimumHealthyHosts_Percentage

func MinimumHealthyHosts_Percentage(value *float64) MinimumHealthyHosts

The minmum healhty hosts threshold expressed as a percentage of the fleet. Experimental.

type ServerApplication

type ServerApplication interface {
	awscdk.Resource
	IServerApplication
	ApplicationArn() *string
	ApplicationName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

A CodeDeploy Application that deploys to EC2/on-premise instances. Experimental.

func NewServerApplication

func NewServerApplication(scope constructs.Construct, id *string, props *ServerApplicationProps) ServerApplication

Experimental.

type ServerApplicationProps

type ServerApplicationProps struct {
	// The physical, human-readable name of the CodeDeploy Application.
	// Experimental.
	ApplicationName *string `json:"applicationName"`
}

Construction properties for {@link ServerApplication}. Experimental.

type ServerDeploymentConfig

type ServerDeploymentConfig interface {
	awscdk.Resource
	IServerDeploymentConfig
	DeploymentConfigArn() *string
	DeploymentConfigName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

A custom Deployment Configuration for an EC2/on-premise Deployment Group. Experimental.

func NewServerDeploymentConfig

func NewServerDeploymentConfig(scope constructs.Construct, id *string, props *ServerDeploymentConfigProps) ServerDeploymentConfig

Experimental.

type ServerDeploymentConfigProps

type ServerDeploymentConfigProps struct {
	// Minimum number of healthy hosts.
	// Experimental.
	MinimumHealthyHosts MinimumHealthyHosts `json:"minimumHealthyHosts"`
	// The physical, human-readable name of the Deployment Configuration.
	// Experimental.
	DeploymentConfigName *string `json:"deploymentConfigName"`
}

Construction properties of {@link ServerDeploymentConfig}. Experimental.

type ServerDeploymentGroup

type ServerDeploymentGroup interface {
	awscdk.Resource
	IServerDeploymentGroup
	Application() IServerApplication
	AutoScalingGroups() *[]awsautoscaling.IAutoScalingGroup
	DeploymentConfig() IServerDeploymentConfig
	DeploymentGroupArn() *string
	DeploymentGroupName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Role() awsiam.IRole
	Stack() awscdk.Stack
	AddAlarm(alarm awscloudwatch.IAlarm)
	AddAutoScalingGroup(asg awsautoscaling.AutoScalingGroup)
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

A CodeDeploy Deployment Group that deploys to EC2/on-premise instances. Experimental.

func NewServerDeploymentGroup

func NewServerDeploymentGroup(scope constructs.Construct, id *string, props *ServerDeploymentGroupProps) ServerDeploymentGroup

Experimental.

type ServerDeploymentGroupAttributes

type ServerDeploymentGroupAttributes struct {
	// The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to.
	// Experimental.
	Application IServerApplication `json:"application"`
	// The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing.
	// Experimental.
	DeploymentGroupName *string `json:"deploymentGroupName"`
	// The Deployment Configuration this Deployment Group uses.
	// Experimental.
	DeploymentConfig IServerDeploymentConfig `json:"deploymentConfig"`
}

Properties of a reference to a CodeDeploy EC2/on-premise Deployment Group. See: ServerDeploymentGroup#import

Experimental.

type ServerDeploymentGroupProps

type ServerDeploymentGroupProps struct {
	// The CloudWatch alarms associated with this Deployment Group.
	//
	// CodeDeploy will stop (and optionally roll back)
	// a deployment if during it any of the alarms trigger.
	//
	// Alarms can also be added after the Deployment Group is created using the {@link #addAlarm} method.
	// See: https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.html
	//
	// Experimental.
	Alarms *[]awscloudwatch.IAlarm `json:"alarms"`
	// The CodeDeploy EC2/on-premise Application this Deployment Group belongs to.
	// Experimental.
	Application IServerApplication `json:"application"`
	// The auto-rollback configuration for this Deployment Group.
	// Experimental.
	AutoRollback *AutoRollbackConfig `json:"autoRollback"`
	// The auto-scaling groups belonging to this Deployment Group.
	//
	// Auto-scaling groups can also be added after the Deployment Group is created
	// using the {@link #addAutoScalingGroup} method.
	//
	// [disable-awslint:ref-via-interface] is needed because we update userdata
	// for ASGs to install the codedeploy agent.
	// Experimental.
	AutoScalingGroups *[]awsautoscaling.IAutoScalingGroup `json:"autoScalingGroups"`
	// The EC2/on-premise Deployment Configuration to use for this Deployment Group.
	// Experimental.
	DeploymentConfig IServerDeploymentConfig `json:"deploymentConfig"`
	// The physical, human-readable name of the CodeDeploy Deployment Group.
	// Experimental.
	DeploymentGroupName *string `json:"deploymentGroupName"`
	// All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
	// Experimental.
	Ec2InstanceTags InstanceTagSet `json:"ec2InstanceTags"`
	// Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
	// Experimental.
	IgnorePollAlarmsFailure *bool `json:"ignorePollAlarmsFailure"`
	// If you've provided any auto-scaling groups with the {@link #autoScalingGroups} property, you can set this property to add User Data that installs the CodeDeploy agent on the instances.
	// See: https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.html
	//
	// Experimental.
	InstallAgent *bool `json:"installAgent"`
	// The load balancer to place in front of this Deployment Group.
	//
	// Can be created from either a classic Elastic Load Balancer,
	// or an Application Load Balancer / Network Load Balancer Target Group.
	// Experimental.
	LoadBalancer LoadBalancer `json:"loadBalancer"`
	// All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
	// Experimental.
	OnPremiseInstanceTags InstanceTagSet `json:"onPremiseInstanceTags"`
	// The service Role of this Deployment Group.
	// Experimental.
	Role awsiam.IRole `json:"role"`
}

Construction properties for {@link ServerDeploymentGroup}. Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL