@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
76 lines (75 loc) • 3.86 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::CodeDeploy::DeploymentConfig
*/
export declare class DeploymentConfig extends pulumi.CustomResource {
/**
* Get an existing DeploymentConfig resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DeploymentConfig;
/**
* Returns true if the given object is an instance of DeploymentConfig. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is DeploymentConfig;
/**
* The destination platform type for the deployment (Lambda, Server, or ECS).
*/
readonly computePlatform: pulumi.Output<string | undefined>;
/**
* 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.
*/
readonly deploymentConfigName: pulumi.Output<string | undefined>;
/**
* 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.
*/
readonly minimumHealthyHosts: pulumi.Output<outputs.codedeploy.DeploymentConfigMinimumHealthyHosts | undefined>;
/**
* The configuration that specifies how the deployment traffic is routed.
*/
readonly trafficRoutingConfig: pulumi.Output<outputs.codedeploy.DeploymentConfigTrafficRoutingConfig | undefined>;
/**
* The zonal deployment config that specifies how the zonal deployment behaves
*/
readonly zonalConfig: pulumi.Output<outputs.codedeploy.DeploymentConfigZonalConfig | undefined>;
/**
* Create a DeploymentConfig resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: DeploymentConfigArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a DeploymentConfig resource.
*/
export interface DeploymentConfigArgs {
/**
* The destination platform type for the deployment (Lambda, Server, or ECS).
*/
computePlatform?: pulumi.Input<string>;
/**
* 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.Input<string>;
/**
* 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?: pulumi.Input<inputs.codedeploy.DeploymentConfigMinimumHealthyHostsArgs>;
/**
* The configuration that specifies how the deployment traffic is routed.
*/
trafficRoutingConfig?: pulumi.Input<inputs.codedeploy.DeploymentConfigTrafficRoutingConfigArgs>;
/**
* The zonal deployment config that specifies how the zonal deployment behaves
*/
zonalConfig?: pulumi.Input<inputs.codedeploy.DeploymentConfigZonalConfigArgs>;
}