codedeploy

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	// A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
	ApplicationName pulumi.StringPtrOutput `pulumi:"applicationName"`
	// The compute platform that CodeDeploy deploys the application to.
	ComputePlatform pulumi.StringPtrOutput `pulumi:"computePlatform"`
	// The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

The AWS::CodeDeploy::Application resource creates an AWS CodeDeploy application

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

NewApplication registers a new resource with the given unique name, arguments, and options.

func (*Application) ElementType

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationArgs

type ApplicationArgs struct {
	// A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
	ApplicationName pulumi.StringPtrInput
	// The compute platform that CodeDeploy deploys the application to.
	ComputePlatform pulumi.StringPtrInput
	// The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationInput

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationOutput

type ApplicationOutput struct{ *pulumi.OutputState }

func (ApplicationOutput) ApplicationName added in v0.17.0

func (o ApplicationOutput) ApplicationName() pulumi.StringPtrOutput

A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.

func (ApplicationOutput) ComputePlatform added in v0.17.0

func (o ApplicationOutput) ComputePlatform() pulumi.StringPtrOutput

The compute platform that CodeDeploy deploys the application to.

func (ApplicationOutput) ElementType

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) Tags added in v0.17.0

The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.

func (ApplicationOutput) ToApplicationOutput

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationState

type ApplicationState struct {
}

func (ApplicationState) ElementType

func (ApplicationState) ElementType() reflect.Type

type ApplicationTag

type ApplicationTag struct {
	// The tag's key.
	Key string `pulumi:"key"`
	// The tag's value.
	Value string `pulumi:"value"`
}

type DeploymentConfig

type DeploymentConfig struct {
	pulumi.CustomResourceState

	// The destination platform type for the deployment (Lambda, Server, or ECS).
	ComputePlatform pulumi.StringPtrOutput `pulumi:"computePlatform"`
	// A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
	DeploymentConfigName pulumi.StringPtrOutput `pulumi:"deploymentConfigName"`
	// The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
	MinimumHealthyHosts DeploymentConfigMinimumHealthyHostsPtrOutput `pulumi:"minimumHealthyHosts"`
	// The configuration that specifies how the deployment traffic is routed.
	TrafficRoutingConfig DeploymentConfigTrafficRoutingConfigPtrOutput `pulumi:"trafficRoutingConfig"`
	// The zonal deployment config that specifies how the zonal deployment behaves
	ZonalConfig DeploymentConfigZonalConfigPtrOutput `pulumi:"zonalConfig"`
}

Resource Type definition for AWS::CodeDeploy::DeploymentConfig

func GetDeploymentConfig

func GetDeploymentConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentConfigState, opts ...pulumi.ResourceOption) (*DeploymentConfig, error)

GetDeploymentConfig gets an existing DeploymentConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeploymentConfig

func NewDeploymentConfig(ctx *pulumi.Context,
	name string, args *DeploymentConfigArgs, opts ...pulumi.ResourceOption) (*DeploymentConfig, error)

NewDeploymentConfig registers a new resource with the given unique name, arguments, and options.

func (*DeploymentConfig) ElementType

func (*DeploymentConfig) ElementType() reflect.Type

func (*DeploymentConfig) ToDeploymentConfigOutput

func (i *DeploymentConfig) ToDeploymentConfigOutput() DeploymentConfigOutput

func (*DeploymentConfig) ToDeploymentConfigOutputWithContext

func (i *DeploymentConfig) ToDeploymentConfigOutputWithContext(ctx context.Context) DeploymentConfigOutput

type DeploymentConfigArgs

type DeploymentConfigArgs struct {
	// The destination platform type for the deployment (Lambda, Server, or ECS).
	ComputePlatform pulumi.StringPtrInput
	// A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
	DeploymentConfigName pulumi.StringPtrInput
	// The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
	MinimumHealthyHosts DeploymentConfigMinimumHealthyHostsPtrInput
	// The configuration that specifies how the deployment traffic is routed.
	TrafficRoutingConfig DeploymentConfigTrafficRoutingConfigPtrInput
	// The zonal deployment config that specifies how the zonal deployment behaves
	ZonalConfig DeploymentConfigZonalConfigPtrInput
}

The set of arguments for constructing a DeploymentConfig resource.

func (DeploymentConfigArgs) ElementType

func (DeploymentConfigArgs) ElementType() reflect.Type

type DeploymentConfigInput

type DeploymentConfigInput interface {
	pulumi.Input

	ToDeploymentConfigOutput() DeploymentConfigOutput
	ToDeploymentConfigOutputWithContext(ctx context.Context) DeploymentConfigOutput
}

type DeploymentConfigMinimumHealthyHosts

type DeploymentConfigMinimumHealthyHosts struct {
	// The minimum healthy instance type:
	//
	// - HOST_COUNT: The minimum number of healthy instance as an absolute value.
	// - FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment.
	//
	// In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment is successful if four or more instance are deployed to successfully. Otherwise, the deployment fails.
	//
	// > In a call to `GetDeploymentConfig` , CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful.
	//
	// For more information, see [AWS CodeDeploy Instance Health](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html) in the *AWS CodeDeploy User Guide* .
	Type string `pulumi:"type"`
	// The minimum healthy instance value.
	Value int `pulumi:"value"`
}

type DeploymentConfigMinimumHealthyHostsArgs

type DeploymentConfigMinimumHealthyHostsArgs struct {
	// The minimum healthy instance type:
	//
	// - HOST_COUNT: The minimum number of healthy instance as an absolute value.
	// - FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment.
	//
	// In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment is successful if four or more instance are deployed to successfully. Otherwise, the deployment fails.
	//
	// > In a call to `GetDeploymentConfig` , CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful.
	//
	// For more information, see [AWS CodeDeploy Instance Health](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html) in the *AWS CodeDeploy User Guide* .
	Type pulumi.StringInput `pulumi:"type"`
	// The minimum healthy instance value.
	Value pulumi.IntInput `pulumi:"value"`
}

func (DeploymentConfigMinimumHealthyHostsArgs) ElementType

func (DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsOutput

func (i DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsOutput() DeploymentConfigMinimumHealthyHostsOutput

func (DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsOutputWithContext

func (i DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsOutput

func (DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsPtrOutput

func (i DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsPtrOutput() DeploymentConfigMinimumHealthyHostsPtrOutput

func (DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext

func (i DeploymentConfigMinimumHealthyHostsArgs) ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPtrOutput

type DeploymentConfigMinimumHealthyHostsInput

type DeploymentConfigMinimumHealthyHostsInput interface {
	pulumi.Input

	ToDeploymentConfigMinimumHealthyHostsOutput() DeploymentConfigMinimumHealthyHostsOutput
	ToDeploymentConfigMinimumHealthyHostsOutputWithContext(context.Context) DeploymentConfigMinimumHealthyHostsOutput
}

DeploymentConfigMinimumHealthyHostsInput is an input type that accepts DeploymentConfigMinimumHealthyHostsArgs and DeploymentConfigMinimumHealthyHostsOutput values. You can construct a concrete instance of `DeploymentConfigMinimumHealthyHostsInput` via:

DeploymentConfigMinimumHealthyHostsArgs{...}

type DeploymentConfigMinimumHealthyHostsOutput

type DeploymentConfigMinimumHealthyHostsOutput struct{ *pulumi.OutputState }

func (DeploymentConfigMinimumHealthyHostsOutput) ElementType

func (DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsOutput

func (o DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsOutput() DeploymentConfigMinimumHealthyHostsOutput

func (DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsOutputWithContext

func (o DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsOutput

func (DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutput

func (o DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutput() DeploymentConfigMinimumHealthyHostsPtrOutput

func (DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext

func (o DeploymentConfigMinimumHealthyHostsOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPtrOutput

func (DeploymentConfigMinimumHealthyHostsOutput) Type

The minimum healthy instance type:

- HOST_COUNT: The minimum number of healthy instance as an absolute value. - FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment.

In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment is successful if four or more instance are deployed to successfully. Otherwise, the deployment fails.

> In a call to `GetDeploymentConfig` , CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful.

For more information, see [AWS CodeDeploy Instance Health](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html) in the *AWS CodeDeploy User Guide* .

func (DeploymentConfigMinimumHealthyHostsOutput) Value

The minimum healthy instance value.

type DeploymentConfigMinimumHealthyHostsPerZone added in v0.91.0

type DeploymentConfigMinimumHealthyHostsPerZone struct {
	// The `type` associated with the `MinimumHealthyHostsPerZone` option.
	Type string `pulumi:"type"`
	// The `value` associated with the `MinimumHealthyHostsPerZone` option.
	Value int `pulumi:"value"`
}

type DeploymentConfigMinimumHealthyHostsPerZoneArgs added in v0.91.0

type DeploymentConfigMinimumHealthyHostsPerZoneArgs struct {
	// The `type` associated with the `MinimumHealthyHostsPerZone` option.
	Type pulumi.StringInput `pulumi:"type"`
	// The `value` associated with the `MinimumHealthyHostsPerZone` option.
	Value pulumi.IntInput `pulumi:"value"`
}

func (DeploymentConfigMinimumHealthyHostsPerZoneArgs) ElementType added in v0.91.0

func (DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZoneOutput added in v0.91.0

func (i DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZoneOutput() DeploymentConfigMinimumHealthyHostsPerZoneOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZoneOutputWithContext added in v0.91.0

func (i DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZoneOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPerZoneOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput added in v0.91.0

func (i DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput() DeploymentConfigMinimumHealthyHostsPerZonePtrOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext added in v0.91.0

func (i DeploymentConfigMinimumHealthyHostsPerZoneArgs) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPerZonePtrOutput

type DeploymentConfigMinimumHealthyHostsPerZoneInput added in v0.91.0

type DeploymentConfigMinimumHealthyHostsPerZoneInput interface {
	pulumi.Input

	ToDeploymentConfigMinimumHealthyHostsPerZoneOutput() DeploymentConfigMinimumHealthyHostsPerZoneOutput
	ToDeploymentConfigMinimumHealthyHostsPerZoneOutputWithContext(context.Context) DeploymentConfigMinimumHealthyHostsPerZoneOutput
}

DeploymentConfigMinimumHealthyHostsPerZoneInput is an input type that accepts DeploymentConfigMinimumHealthyHostsPerZoneArgs and DeploymentConfigMinimumHealthyHostsPerZoneOutput values. You can construct a concrete instance of `DeploymentConfigMinimumHealthyHostsPerZoneInput` via:

DeploymentConfigMinimumHealthyHostsPerZoneArgs{...}

type DeploymentConfigMinimumHealthyHostsPerZoneOutput added in v0.91.0

type DeploymentConfigMinimumHealthyHostsPerZoneOutput struct{ *pulumi.OutputState }

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) ElementType added in v0.91.0

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZoneOutput added in v0.91.0

func (o DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZoneOutput() DeploymentConfigMinimumHealthyHostsPerZoneOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZoneOutputWithContext added in v0.91.0

func (o DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZoneOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPerZoneOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput added in v0.91.0

func (o DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput() DeploymentConfigMinimumHealthyHostsPerZonePtrOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext added in v0.91.0

func (o DeploymentConfigMinimumHealthyHostsPerZoneOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPerZonePtrOutput

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) Type added in v0.91.0

The `type` associated with the `MinimumHealthyHostsPerZone` option.

func (DeploymentConfigMinimumHealthyHostsPerZoneOutput) Value added in v0.91.0

The `value` associated with the `MinimumHealthyHostsPerZone` option.

type DeploymentConfigMinimumHealthyHostsPerZonePtrInput added in v0.91.0

type DeploymentConfigMinimumHealthyHostsPerZonePtrInput interface {
	pulumi.Input

	ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput() DeploymentConfigMinimumHealthyHostsPerZonePtrOutput
	ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext(context.Context) DeploymentConfigMinimumHealthyHostsPerZonePtrOutput
}

DeploymentConfigMinimumHealthyHostsPerZonePtrInput is an input type that accepts DeploymentConfigMinimumHealthyHostsPerZoneArgs, DeploymentConfigMinimumHealthyHostsPerZonePtr and DeploymentConfigMinimumHealthyHostsPerZonePtrOutput values. You can construct a concrete instance of `DeploymentConfigMinimumHealthyHostsPerZonePtrInput` via:

        DeploymentConfigMinimumHealthyHostsPerZoneArgs{...}

or:

        nil

type DeploymentConfigMinimumHealthyHostsPerZonePtrOutput added in v0.91.0

type DeploymentConfigMinimumHealthyHostsPerZonePtrOutput struct{ *pulumi.OutputState }

func (DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) Elem added in v0.91.0

func (DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) ElementType added in v0.91.0

func (DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput added in v0.91.0

func (o DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutput() DeploymentConfigMinimumHealthyHostsPerZonePtrOutput

func (DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext added in v0.91.0

func (o DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) ToDeploymentConfigMinimumHealthyHostsPerZonePtrOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPerZonePtrOutput

func (DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) Type added in v0.91.0

The `type` associated with the `MinimumHealthyHostsPerZone` option.

func (DeploymentConfigMinimumHealthyHostsPerZonePtrOutput) Value added in v0.91.0

The `value` associated with the `MinimumHealthyHostsPerZone` option.

type DeploymentConfigMinimumHealthyHostsPtrInput

type DeploymentConfigMinimumHealthyHostsPtrInput interface {
	pulumi.Input

	ToDeploymentConfigMinimumHealthyHostsPtrOutput() DeploymentConfigMinimumHealthyHostsPtrOutput
	ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext(context.Context) DeploymentConfigMinimumHealthyHostsPtrOutput
}

DeploymentConfigMinimumHealthyHostsPtrInput is an input type that accepts DeploymentConfigMinimumHealthyHostsArgs, DeploymentConfigMinimumHealthyHostsPtr and DeploymentConfigMinimumHealthyHostsPtrOutput values. You can construct a concrete instance of `DeploymentConfigMinimumHealthyHostsPtrInput` via:

        DeploymentConfigMinimumHealthyHostsArgs{...}

or:

        nil

type DeploymentConfigMinimumHealthyHostsPtrOutput

type DeploymentConfigMinimumHealthyHostsPtrOutput struct{ *pulumi.OutputState }

func (DeploymentConfigMinimumHealthyHostsPtrOutput) Elem

func (DeploymentConfigMinimumHealthyHostsPtrOutput) ElementType

func (DeploymentConfigMinimumHealthyHostsPtrOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutput

func (o DeploymentConfigMinimumHealthyHostsPtrOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutput() DeploymentConfigMinimumHealthyHostsPtrOutput

func (DeploymentConfigMinimumHealthyHostsPtrOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext

func (o DeploymentConfigMinimumHealthyHostsPtrOutput) ToDeploymentConfigMinimumHealthyHostsPtrOutputWithContext(ctx context.Context) DeploymentConfigMinimumHealthyHostsPtrOutput

func (DeploymentConfigMinimumHealthyHostsPtrOutput) Type

The minimum healthy instance type:

- HOST_COUNT: The minimum number of healthy instance as an absolute value. - FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment.

In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment is successful if four or more instance are deployed to successfully. Otherwise, the deployment fails.

> In a call to `GetDeploymentConfig` , CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful.

For more information, see [AWS CodeDeploy Instance Health](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html) in the *AWS CodeDeploy User Guide* .

func (DeploymentConfigMinimumHealthyHostsPtrOutput) Value

The minimum healthy instance value.

type DeploymentConfigOutput

type DeploymentConfigOutput struct{ *pulumi.OutputState }

func (DeploymentConfigOutput) ComputePlatform added in v0.17.0

func (o DeploymentConfigOutput) ComputePlatform() pulumi.StringPtrOutput

The destination platform type for the deployment (Lambda, Server, or ECS).

func (DeploymentConfigOutput) DeploymentConfigName added in v0.17.0

func (o DeploymentConfigOutput) DeploymentConfigName() pulumi.StringPtrOutput

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

func (DeploymentConfigOutput) ElementType

func (DeploymentConfigOutput) ElementType() reflect.Type

func (DeploymentConfigOutput) MinimumHealthyHosts added in v0.17.0

The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.

func (DeploymentConfigOutput) ToDeploymentConfigOutput

func (o DeploymentConfigOutput) ToDeploymentConfigOutput() DeploymentConfigOutput

func (DeploymentConfigOutput) ToDeploymentConfigOutputWithContext

func (o DeploymentConfigOutput) ToDeploymentConfigOutputWithContext(ctx context.Context) DeploymentConfigOutput

func (DeploymentConfigOutput) TrafficRoutingConfig added in v0.17.0

The configuration that specifies how the deployment traffic is routed.

func (DeploymentConfigOutput) ZonalConfig added in v0.91.0

The zonal deployment config that specifies how the zonal deployment behaves

type DeploymentConfigState

type DeploymentConfigState struct {
}

func (DeploymentConfigState) ElementType

func (DeploymentConfigState) ElementType() reflect.Type

type DeploymentConfigTimeBasedCanary

type DeploymentConfigTimeBasedCanary struct {
	// The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.
	CanaryInterval int `pulumi:"canaryInterval"`
	// The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.
	CanaryPercentage int `pulumi:"canaryPercentage"`
}

type DeploymentConfigTimeBasedCanaryArgs

type DeploymentConfigTimeBasedCanaryArgs struct {
	// The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.
	CanaryInterval pulumi.IntInput `pulumi:"canaryInterval"`
	// The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.
	CanaryPercentage pulumi.IntInput `pulumi:"canaryPercentage"`
}

func (DeploymentConfigTimeBasedCanaryArgs) ElementType

func (DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryOutput

func (i DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryOutput() DeploymentConfigTimeBasedCanaryOutput

func (DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryOutputWithContext

func (i DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedCanaryOutput

func (DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryPtrOutput

func (i DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryPtrOutput() DeploymentConfigTimeBasedCanaryPtrOutput

func (DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext

func (i DeploymentConfigTimeBasedCanaryArgs) ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedCanaryPtrOutput

type DeploymentConfigTimeBasedCanaryInput

type DeploymentConfigTimeBasedCanaryInput interface {
	pulumi.Input

	ToDeploymentConfigTimeBasedCanaryOutput() DeploymentConfigTimeBasedCanaryOutput
	ToDeploymentConfigTimeBasedCanaryOutputWithContext(context.Context) DeploymentConfigTimeBasedCanaryOutput
}

DeploymentConfigTimeBasedCanaryInput is an input type that accepts DeploymentConfigTimeBasedCanaryArgs and DeploymentConfigTimeBasedCanaryOutput values. You can construct a concrete instance of `DeploymentConfigTimeBasedCanaryInput` via:

DeploymentConfigTimeBasedCanaryArgs{...}

type DeploymentConfigTimeBasedCanaryOutput

type DeploymentConfigTimeBasedCanaryOutput struct{ *pulumi.OutputState }

func (DeploymentConfigTimeBasedCanaryOutput) CanaryInterval

The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.

func (DeploymentConfigTimeBasedCanaryOutput) CanaryPercentage

The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.

func (DeploymentConfigTimeBasedCanaryOutput) ElementType

func (DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryOutput

func (o DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryOutput() DeploymentConfigTimeBasedCanaryOutput

func (DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryOutputWithContext

func (o DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedCanaryOutput

func (DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryPtrOutput

func (o DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryPtrOutput() DeploymentConfigTimeBasedCanaryPtrOutput

func (DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext

func (o DeploymentConfigTimeBasedCanaryOutput) ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedCanaryPtrOutput

type DeploymentConfigTimeBasedCanaryPtrInput

type DeploymentConfigTimeBasedCanaryPtrInput interface {
	pulumi.Input

	ToDeploymentConfigTimeBasedCanaryPtrOutput() DeploymentConfigTimeBasedCanaryPtrOutput
	ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext(context.Context) DeploymentConfigTimeBasedCanaryPtrOutput
}

DeploymentConfigTimeBasedCanaryPtrInput is an input type that accepts DeploymentConfigTimeBasedCanaryArgs, DeploymentConfigTimeBasedCanaryPtr and DeploymentConfigTimeBasedCanaryPtrOutput values. You can construct a concrete instance of `DeploymentConfigTimeBasedCanaryPtrInput` via:

        DeploymentConfigTimeBasedCanaryArgs{...}

or:

        nil

type DeploymentConfigTimeBasedCanaryPtrOutput

type DeploymentConfigTimeBasedCanaryPtrOutput struct{ *pulumi.OutputState }

func (DeploymentConfigTimeBasedCanaryPtrOutput) CanaryInterval

The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.

func (DeploymentConfigTimeBasedCanaryPtrOutput) CanaryPercentage

The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.

func (DeploymentConfigTimeBasedCanaryPtrOutput) Elem

func (DeploymentConfigTimeBasedCanaryPtrOutput) ElementType

func (DeploymentConfigTimeBasedCanaryPtrOutput) ToDeploymentConfigTimeBasedCanaryPtrOutput

func (o DeploymentConfigTimeBasedCanaryPtrOutput) ToDeploymentConfigTimeBasedCanaryPtrOutput() DeploymentConfigTimeBasedCanaryPtrOutput

func (DeploymentConfigTimeBasedCanaryPtrOutput) ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext

func (o DeploymentConfigTimeBasedCanaryPtrOutput) ToDeploymentConfigTimeBasedCanaryPtrOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedCanaryPtrOutput

type DeploymentConfigTimeBasedLinear

type DeploymentConfigTimeBasedLinear struct {
	// The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment.
	LinearInterval int `pulumi:"linearInterval"`
	// The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment.
	LinearPercentage int `pulumi:"linearPercentage"`
}

type DeploymentConfigTimeBasedLinearArgs

type DeploymentConfigTimeBasedLinearArgs struct {
	// The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment.
	LinearInterval pulumi.IntInput `pulumi:"linearInterval"`
	// The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment.
	LinearPercentage pulumi.IntInput `pulumi:"linearPercentage"`
}

func (DeploymentConfigTimeBasedLinearArgs) ElementType

func (DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearOutput

func (i DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearOutput() DeploymentConfigTimeBasedLinearOutput

func (DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearOutputWithContext

func (i DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedLinearOutput

func (DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearPtrOutput

func (i DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearPtrOutput() DeploymentConfigTimeBasedLinearPtrOutput

func (DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearPtrOutputWithContext

func (i DeploymentConfigTimeBasedLinearArgs) ToDeploymentConfigTimeBasedLinearPtrOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedLinearPtrOutput

type DeploymentConfigTimeBasedLinearInput

type DeploymentConfigTimeBasedLinearInput interface {
	pulumi.Input

	ToDeploymentConfigTimeBasedLinearOutput() DeploymentConfigTimeBasedLinearOutput
	ToDeploymentConfigTimeBasedLinearOutputWithContext(context.Context) DeploymentConfigTimeBasedLinearOutput
}

DeploymentConfigTimeBasedLinearInput is an input type that accepts DeploymentConfigTimeBasedLinearArgs and DeploymentConfigTimeBasedLinearOutput values. You can construct a concrete instance of `DeploymentConfigTimeBasedLinearInput` via:

DeploymentConfigTimeBasedLinearArgs{...}

type DeploymentConfigTimeBasedLinearOutput

type DeploymentConfigTimeBasedLinearOutput struct{ *pulumi.OutputState }

func (DeploymentConfigTimeBasedLinearOutput) ElementType

func (DeploymentConfigTimeBasedLinearOutput) LinearInterval

The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment.

func (DeploymentConfigTimeBasedLinearOutput) LinearPercentage

The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment.

func (DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearOutput

func (o DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearOutput() DeploymentConfigTimeBasedLinearOutput

func (DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearOutputWithContext

func (o DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedLinearOutput

func (DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearPtrOutput

func (o DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearPtrOutput() DeploymentConfigTimeBasedLinearPtrOutput

func (DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearPtrOutputWithContext

func (o DeploymentConfigTimeBasedLinearOutput) ToDeploymentConfigTimeBasedLinearPtrOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedLinearPtrOutput

type DeploymentConfigTimeBasedLinearPtrInput

type DeploymentConfigTimeBasedLinearPtrInput interface {
	pulumi.Input

	ToDeploymentConfigTimeBasedLinearPtrOutput() DeploymentConfigTimeBasedLinearPtrOutput
	ToDeploymentConfigTimeBasedLinearPtrOutputWithContext(context.Context) DeploymentConfigTimeBasedLinearPtrOutput
}

DeploymentConfigTimeBasedLinearPtrInput is an input type that accepts DeploymentConfigTimeBasedLinearArgs, DeploymentConfigTimeBasedLinearPtr and DeploymentConfigTimeBasedLinearPtrOutput values. You can construct a concrete instance of `DeploymentConfigTimeBasedLinearPtrInput` via:

        DeploymentConfigTimeBasedLinearArgs{...}

or:

        nil

type DeploymentConfigTimeBasedLinearPtrOutput

type DeploymentConfigTimeBasedLinearPtrOutput struct{ *pulumi.OutputState }

func (DeploymentConfigTimeBasedLinearPtrOutput) Elem

func (DeploymentConfigTimeBasedLinearPtrOutput) ElementType

func (DeploymentConfigTimeBasedLinearPtrOutput) LinearInterval

The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment.

func (DeploymentConfigTimeBasedLinearPtrOutput) LinearPercentage

The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment.

func (DeploymentConfigTimeBasedLinearPtrOutput) ToDeploymentConfigTimeBasedLinearPtrOutput

func (o DeploymentConfigTimeBasedLinearPtrOutput) ToDeploymentConfigTimeBasedLinearPtrOutput() DeploymentConfigTimeBasedLinearPtrOutput

func (DeploymentConfigTimeBasedLinearPtrOutput) ToDeploymentConfigTimeBasedLinearPtrOutputWithContext

func (o DeploymentConfigTimeBasedLinearPtrOutput) ToDeploymentConfigTimeBasedLinearPtrOutputWithContext(ctx context.Context) DeploymentConfigTimeBasedLinearPtrOutput

type DeploymentConfigTrafficRoutingConfig

type DeploymentConfigTrafficRoutingConfig struct {
	// A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
	TimeBasedCanary *DeploymentConfigTimeBasedCanary `pulumi:"timeBasedCanary"`
	// A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
	TimeBasedLinear *DeploymentConfigTimeBasedLinear `pulumi:"timeBasedLinear"`
	// The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration.
	Type string `pulumi:"type"`
}

type DeploymentConfigTrafficRoutingConfigArgs

type DeploymentConfigTrafficRoutingConfigArgs struct {
	// A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
	TimeBasedCanary DeploymentConfigTimeBasedCanaryPtrInput `pulumi:"timeBasedCanary"`
	// A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
	TimeBasedLinear DeploymentConfigTimeBasedLinearPtrInput `pulumi:"timeBasedLinear"`
	// The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DeploymentConfigTrafficRoutingConfigArgs) ElementType

func (DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigOutput

func (i DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigOutput() DeploymentConfigTrafficRoutingConfigOutput

func (DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigOutputWithContext

func (i DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigOutputWithContext(ctx context.Context) DeploymentConfigTrafficRoutingConfigOutput

func (DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigPtrOutput

func (i DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigPtrOutput() DeploymentConfigTrafficRoutingConfigPtrOutput

func (DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext

func (i DeploymentConfigTrafficRoutingConfigArgs) ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext(ctx context.Context) DeploymentConfigTrafficRoutingConfigPtrOutput

type DeploymentConfigTrafficRoutingConfigInput

type DeploymentConfigTrafficRoutingConfigInput interface {
	pulumi.Input

	ToDeploymentConfigTrafficRoutingConfigOutput() DeploymentConfigTrafficRoutingConfigOutput
	ToDeploymentConfigTrafficRoutingConfigOutputWithContext(context.Context) DeploymentConfigTrafficRoutingConfigOutput
}

DeploymentConfigTrafficRoutingConfigInput is an input type that accepts DeploymentConfigTrafficRoutingConfigArgs and DeploymentConfigTrafficRoutingConfigOutput values. You can construct a concrete instance of `DeploymentConfigTrafficRoutingConfigInput` via:

DeploymentConfigTrafficRoutingConfigArgs{...}

type DeploymentConfigTrafficRoutingConfigOutput

type DeploymentConfigTrafficRoutingConfigOutput struct{ *pulumi.OutputState }

func (DeploymentConfigTrafficRoutingConfigOutput) ElementType

func (DeploymentConfigTrafficRoutingConfigOutput) TimeBasedCanary

A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

func (DeploymentConfigTrafficRoutingConfigOutput) TimeBasedLinear

A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.

func (DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigOutput

func (o DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigOutput() DeploymentConfigTrafficRoutingConfigOutput

func (DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigOutputWithContext

func (o DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigOutputWithContext(ctx context.Context) DeploymentConfigTrafficRoutingConfigOutput

func (DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutput

func (o DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutput() DeploymentConfigTrafficRoutingConfigPtrOutput

func (DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext

func (o DeploymentConfigTrafficRoutingConfigOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext(ctx context.Context) DeploymentConfigTrafficRoutingConfigPtrOutput

func (DeploymentConfigTrafficRoutingConfigOutput) Type

The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration.

type DeploymentConfigTrafficRoutingConfigPtrInput

type DeploymentConfigTrafficRoutingConfigPtrInput interface {
	pulumi.Input

	ToDeploymentConfigTrafficRoutingConfigPtrOutput() DeploymentConfigTrafficRoutingConfigPtrOutput
	ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext(context.Context) DeploymentConfigTrafficRoutingConfigPtrOutput
}

DeploymentConfigTrafficRoutingConfigPtrInput is an input type that accepts DeploymentConfigTrafficRoutingConfigArgs, DeploymentConfigTrafficRoutingConfigPtr and DeploymentConfigTrafficRoutingConfigPtrOutput values. You can construct a concrete instance of `DeploymentConfigTrafficRoutingConfigPtrInput` via:

        DeploymentConfigTrafficRoutingConfigArgs{...}

or:

        nil

type DeploymentConfigTrafficRoutingConfigPtrOutput

type DeploymentConfigTrafficRoutingConfigPtrOutput struct{ *pulumi.OutputState }

func (DeploymentConfigTrafficRoutingConfigPtrOutput) Elem

func (DeploymentConfigTrafficRoutingConfigPtrOutput) ElementType

func (DeploymentConfigTrafficRoutingConfigPtrOutput) TimeBasedCanary

A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

func (DeploymentConfigTrafficRoutingConfigPtrOutput) TimeBasedLinear

A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.

func (DeploymentConfigTrafficRoutingConfigPtrOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutput

func (o DeploymentConfigTrafficRoutingConfigPtrOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutput() DeploymentConfigTrafficRoutingConfigPtrOutput

func (DeploymentConfigTrafficRoutingConfigPtrOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext

func (o DeploymentConfigTrafficRoutingConfigPtrOutput) ToDeploymentConfigTrafficRoutingConfigPtrOutputWithContext(ctx context.Context) DeploymentConfigTrafficRoutingConfigPtrOutput

func (DeploymentConfigTrafficRoutingConfigPtrOutput) Type

The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration.

type DeploymentConfigZonalConfig added in v0.91.0

type DeploymentConfigZonalConfig struct {
	// The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the *first* Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for `firstZoneMonitorDurationInSeconds` , then CodeDeploy uses the `monitorDurationInSeconds` value for the first Availability Zone.
	//
	// For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .
	FirstZoneMonitorDurationInSeconds *int `pulumi:"firstZoneMonitorDurationInSeconds"`
	// The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the `MinimumHealthyHosts` option. For more information, see [About the minimum number of healthy hosts per Availability Zone](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az) in the *CodeDeploy User Guide* .
	//
	// If you don't specify the `minimumHealthyHostsPerZone` option, then CodeDeploy uses a default value of `0` percent.
	//
	// For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .
	MinimumHealthyHostsPerZone *DeploymentConfigMinimumHealthyHostsPerZone `pulumi:"minimumHealthyHostsPerZone"`
	// The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a `monitorDurationInSeconds` , CodeDeploy starts deploying to the next Availability Zone immediately.
	//
	// For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .
	MonitorDurationInSeconds *int `pulumi:"monitorDurationInSeconds"`
}

type DeploymentConfigZonalConfigArgs added in v0.91.0

type DeploymentConfigZonalConfigArgs struct {
	// The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the *first* Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for `firstZoneMonitorDurationInSeconds` , then CodeDeploy uses the `monitorDurationInSeconds` value for the first Availability Zone.
	//
	// For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .
	FirstZoneMonitorDurationInSeconds pulumi.IntPtrInput `pulumi:"firstZoneMonitorDurationInSeconds"`
	// The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the `MinimumHealthyHosts` option. For more information, see [About the minimum number of healthy hosts per Availability Zone](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az) in the *CodeDeploy User Guide* .
	//
	// If you don't specify the `minimumHealthyHostsPerZone` option, then CodeDeploy uses a default value of `0` percent.
	//
	// For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .
	MinimumHealthyHostsPerZone DeploymentConfigMinimumHealthyHostsPerZonePtrInput `pulumi:"minimumHealthyHostsPerZone"`
	// The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a `monitorDurationInSeconds` , CodeDeploy starts deploying to the next Availability Zone immediately.
	//
	// For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .
	MonitorDurationInSeconds pulumi.IntPtrInput `pulumi:"monitorDurationInSeconds"`
}

func (DeploymentConfigZonalConfigArgs) ElementType added in v0.91.0

func (DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigOutput added in v0.91.0

func (i DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigOutput() DeploymentConfigZonalConfigOutput

func (DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigOutputWithContext added in v0.91.0

func (i DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigOutputWithContext(ctx context.Context) DeploymentConfigZonalConfigOutput

func (DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigPtrOutput added in v0.91.0

func (i DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigPtrOutput() DeploymentConfigZonalConfigPtrOutput

func (DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigPtrOutputWithContext added in v0.91.0

func (i DeploymentConfigZonalConfigArgs) ToDeploymentConfigZonalConfigPtrOutputWithContext(ctx context.Context) DeploymentConfigZonalConfigPtrOutput

type DeploymentConfigZonalConfigInput added in v0.91.0

type DeploymentConfigZonalConfigInput interface {
	pulumi.Input

	ToDeploymentConfigZonalConfigOutput() DeploymentConfigZonalConfigOutput
	ToDeploymentConfigZonalConfigOutputWithContext(context.Context) DeploymentConfigZonalConfigOutput
}

DeploymentConfigZonalConfigInput is an input type that accepts DeploymentConfigZonalConfigArgs and DeploymentConfigZonalConfigOutput values. You can construct a concrete instance of `DeploymentConfigZonalConfigInput` via:

DeploymentConfigZonalConfigArgs{...}

type DeploymentConfigZonalConfigOutput added in v0.91.0

type DeploymentConfigZonalConfigOutput struct{ *pulumi.OutputState }

func (DeploymentConfigZonalConfigOutput) ElementType added in v0.91.0

func (DeploymentConfigZonalConfigOutput) FirstZoneMonitorDurationInSeconds added in v0.91.0

func (o DeploymentConfigZonalConfigOutput) FirstZoneMonitorDurationInSeconds() pulumi.IntPtrOutput

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the *first* Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for `firstZoneMonitorDurationInSeconds` , then CodeDeploy uses the `monitorDurationInSeconds` value for the first Availability Zone.

For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .

func (DeploymentConfigZonalConfigOutput) MinimumHealthyHostsPerZone added in v0.91.0

The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the `MinimumHealthyHosts` option. For more information, see [About the minimum number of healthy hosts per Availability Zone](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az) in the *CodeDeploy User Guide* .

If you don't specify the `minimumHealthyHostsPerZone` option, then CodeDeploy uses a default value of `0` percent.

For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .

func (DeploymentConfigZonalConfigOutput) MonitorDurationInSeconds added in v0.91.0

func (o DeploymentConfigZonalConfigOutput) MonitorDurationInSeconds() pulumi.IntPtrOutput

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a `monitorDurationInSeconds` , CodeDeploy starts deploying to the next Availability Zone immediately.

For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .

func (DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigOutput added in v0.91.0

func (o DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigOutput() DeploymentConfigZonalConfigOutput

func (DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigOutputWithContext added in v0.91.0

func (o DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigOutputWithContext(ctx context.Context) DeploymentConfigZonalConfigOutput

func (DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigPtrOutput added in v0.91.0

func (o DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigPtrOutput() DeploymentConfigZonalConfigPtrOutput

func (DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigPtrOutputWithContext added in v0.91.0

func (o DeploymentConfigZonalConfigOutput) ToDeploymentConfigZonalConfigPtrOutputWithContext(ctx context.Context) DeploymentConfigZonalConfigPtrOutput

type DeploymentConfigZonalConfigPtrInput added in v0.91.0

type DeploymentConfigZonalConfigPtrInput interface {
	pulumi.Input

	ToDeploymentConfigZonalConfigPtrOutput() DeploymentConfigZonalConfigPtrOutput
	ToDeploymentConfigZonalConfigPtrOutputWithContext(context.Context) DeploymentConfigZonalConfigPtrOutput
}

DeploymentConfigZonalConfigPtrInput is an input type that accepts DeploymentConfigZonalConfigArgs, DeploymentConfigZonalConfigPtr and DeploymentConfigZonalConfigPtrOutput values. You can construct a concrete instance of `DeploymentConfigZonalConfigPtrInput` via:

        DeploymentConfigZonalConfigArgs{...}

or:

        nil

func DeploymentConfigZonalConfigPtr added in v0.91.0

type DeploymentConfigZonalConfigPtrOutput added in v0.91.0

type DeploymentConfigZonalConfigPtrOutput struct{ *pulumi.OutputState }

func (DeploymentConfigZonalConfigPtrOutput) Elem added in v0.91.0

func (DeploymentConfigZonalConfigPtrOutput) ElementType added in v0.91.0

func (DeploymentConfigZonalConfigPtrOutput) FirstZoneMonitorDurationInSeconds added in v0.91.0

func (o DeploymentConfigZonalConfigPtrOutput) FirstZoneMonitorDurationInSeconds() pulumi.IntPtrOutput

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the *first* Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for `firstZoneMonitorDurationInSeconds` , then CodeDeploy uses the `monitorDurationInSeconds` value for the first Availability Zone.

For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .

func (DeploymentConfigZonalConfigPtrOutput) MinimumHealthyHostsPerZone added in v0.91.0

The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the `MinimumHealthyHosts` option. For more information, see [About the minimum number of healthy hosts per Availability Zone](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az) in the *CodeDeploy User Guide* .

If you don't specify the `minimumHealthyHostsPerZone` option, then CodeDeploy uses a default value of `0` percent.

For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .

func (DeploymentConfigZonalConfigPtrOutput) MonitorDurationInSeconds added in v0.91.0

func (o DeploymentConfigZonalConfigPtrOutput) MonitorDurationInSeconds() pulumi.IntPtrOutput

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a `monitorDurationInSeconds` , CodeDeploy starts deploying to the next Availability Zone immediately.

For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* .

func (DeploymentConfigZonalConfigPtrOutput) ToDeploymentConfigZonalConfigPtrOutput added in v0.91.0

func (o DeploymentConfigZonalConfigPtrOutput) ToDeploymentConfigZonalConfigPtrOutput() DeploymentConfigZonalConfigPtrOutput

func (DeploymentConfigZonalConfigPtrOutput) ToDeploymentConfigZonalConfigPtrOutputWithContext added in v0.91.0

func (o DeploymentConfigZonalConfigPtrOutput) ToDeploymentConfigZonalConfigPtrOutputWithContext(ctx context.Context) DeploymentConfigZonalConfigPtrOutput

type LookupApplicationArgs added in v0.12.0

type LookupApplicationArgs struct {
	// A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
	ApplicationName string `pulumi:"applicationName"`
}

type LookupApplicationOutputArgs added in v0.12.0

type LookupApplicationOutputArgs struct {
	// A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
	ApplicationName pulumi.StringInput `pulumi:"applicationName"`
}

func (LookupApplicationOutputArgs) ElementType added in v0.12.0

type LookupApplicationResult added in v0.12.0

type LookupApplicationResult struct {
	// The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupApplication added in v0.12.0

func LookupApplication(ctx *pulumi.Context, args *LookupApplicationArgs, opts ...pulumi.InvokeOption) (*LookupApplicationResult, error)

The AWS::CodeDeploy::Application resource creates an AWS CodeDeploy application

type LookupApplicationResultOutput added in v0.12.0

type LookupApplicationResultOutput struct{ *pulumi.OutputState }

func LookupApplicationOutput added in v0.12.0

func (LookupApplicationResultOutput) ElementType added in v0.12.0

func (LookupApplicationResultOutput) Tags added in v0.12.0

The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.

func (LookupApplicationResultOutput) ToLookupApplicationResultOutput added in v0.12.0

func (o LookupApplicationResultOutput) ToLookupApplicationResultOutput() LookupApplicationResultOutput

func (LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext added in v0.12.0

func (o LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext(ctx context.Context) LookupApplicationResultOutput

Jump to

Keyboard shortcuts

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