package
3.38.1
Repository: https://github.com/pulumi/pulumi-aws.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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).
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).
GetDeploymentGroup gets an existing DeploymentGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
NewApplication registers a new resource with the given unique name, arguments, and options.
NewDeploymentConfig registers a new resource with the given unique name, arguments, and options.
NewDeploymentGroup registers a new resource with the given unique name, arguments, and options.

# Structs

Provides a CodeDeploy application to be used as a basis for deployments ## Example Usage ### ECS Application ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codedeploy" "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codedeploy.NewApplication(ctx, "example", &codedeploy.ApplicationArgs{ ComputePlatform: pulumi.String("ECS"), }) if err != nil { return err } return nil }) } ``` ### Lambda Application ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codedeploy" "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codedeploy.NewApplication(ctx, "example", &codedeploy.ApplicationArgs{ ComputePlatform: pulumi.String("Lambda"), }) if err != nil { return err } return nil }) } ``` ### Server Application ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codedeploy" "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codedeploy.NewApplication(ctx, "example", &codedeploy.ApplicationArgs{ ComputePlatform: pulumi.String("Server"), }) if err != nil { return err } return nil }) } ``` ## Import CodeDeploy Applications can be imported using the `name`, e.g.
The set of arguments for constructing a Application resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provides a CodeDeploy deployment config for an application ## Example Usage ### Server Usage ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codedeploy" "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooDeploymentConfig, err := codedeploy.NewDeploymentConfig(ctx, "fooDeploymentConfig", &codedeploy.DeploymentConfigArgs{ DeploymentConfigName: pulumi.String("test-deployment-config"), MinimumHealthyHosts: &codedeploy.DeploymentConfigMinimumHealthyHostsArgs{ Type: pulumi.String("HOST_COUNT"), Value: pulumi.Int(2), }, }) if err != nil { return err } _, err = codedeploy.NewDeploymentGroup(ctx, "fooDeploymentGroup", &codedeploy.DeploymentGroupArgs{ AppName: pulumi.Any(aws_codedeploy_app.Foo_app.Name), DeploymentGroupName: pulumi.String("bar"), ServiceRoleArn: pulumi.Any(aws_iam_role.Foo_role.Arn), DeploymentConfigName: fooDeploymentConfig.ID(), Ec2TagFilters: codedeploy.DeploymentGroupEc2TagFilterArray{ &codedeploy.DeploymentGroupEc2TagFilterArgs{ Key: pulumi.String("filterkey"), Type: pulumi.String("KEY_AND_VALUE"), Value: pulumi.String("filtervalue"), }, }, TriggerConfigurations: codedeploy.DeploymentGroupTriggerConfigurationArray{ &codedeploy.DeploymentGroupTriggerConfigurationArgs{ TriggerEvents: pulumi.StringArray{ pulumi.String("DeploymentFailure"), }, TriggerName: pulumi.String("foo-trigger"), TriggerTargetArn: pulumi.String("foo-topic-arn"), }, }, AutoRollbackConfiguration: &codedeploy.DeploymentGroupAutoRollbackConfigurationArgs{ Enabled: pulumi.Bool(true), Events: pulumi.StringArray{ pulumi.String("DEPLOYMENT_FAILURE"), }, }, AlarmConfiguration: &codedeploy.DeploymentGroupAlarmConfigurationArgs{ Alarms: pulumi.StringArray{ pulumi.String("my-alarm-name"), }, Enabled: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) } ``` ### Lambda Usage ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codedeploy" "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooDeploymentConfig, err := codedeploy.NewDeploymentConfig(ctx, "fooDeploymentConfig", &codedeploy.DeploymentConfigArgs{ DeploymentConfigName: pulumi.String("test-deployment-config"), ComputePlatform: pulumi.String("Lambda"), TrafficRoutingConfig: &codedeploy.DeploymentConfigTrafficRoutingConfigArgs{ Type: pulumi.String("TimeBasedLinear"), TimeBasedLinear: &codedeploy.DeploymentConfigTrafficRoutingConfigTimeBasedLinearArgs{ Interval: pulumi.Int(10), Percentage: pulumi.Int(10), }, }, }) if err != nil { return err } _, err = codedeploy.NewDeploymentGroup(ctx, "fooDeploymentGroup", &codedeploy.DeploymentGroupArgs{ AppName: pulumi.Any(aws_codedeploy_app.Foo_app.Name), DeploymentGroupName: pulumi.String("bar"), ServiceRoleArn: pulumi.Any(aws_iam_role.Foo_role.Arn), DeploymentConfigName: fooDeploymentConfig.ID(), AutoRollbackConfiguration: &codedeploy.DeploymentGroupAutoRollbackConfigurationArgs{ Enabled: pulumi.Bool(true), Events: pulumi.StringArray{ pulumi.String("DEPLOYMENT_STOP_ON_ALARM"), }, }, AlarmConfiguration: &codedeploy.DeploymentGroupAlarmConfigurationArgs{ Alarms: pulumi.StringArray{ pulumi.String("my-alarm-name"), }, Enabled: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) } ``` ## Import CodeDeploy Deployment Configurations can be imported using the `deployment_config_name`, e.g.
The set of arguments for constructing a DeploymentConfig resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provides a CodeDeploy Deployment Group for a CodeDeploy Application > **NOTE on blue/green deployments:** When using `greenFleetProvisioningOption` with the `COPY_AUTO_SCALING_GROUP` action, CodeDeploy will create a new ASG with a different name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The set of arguments for constructing a DeploymentGroup resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values.
No description provided by the author
ApplicationMapInput is an input type that accepts ApplicationMap and ApplicationMapOutput values.
No description provided by the author
DeploymentConfigArrayInput is an input type that accepts DeploymentConfigArray and DeploymentConfigArrayOutput values.
No description provided by the author
DeploymentConfigMapInput is an input type that accepts DeploymentConfigMap and DeploymentConfigMapOutput values.
DeploymentConfigMinimumHealthyHostsInput is an input type that accepts DeploymentConfigMinimumHealthyHostsArgs and DeploymentConfigMinimumHealthyHostsOutput values.
DeploymentConfigMinimumHealthyHostsPtrInput is an input type that accepts DeploymentConfigMinimumHealthyHostsArgs, DeploymentConfigMinimumHealthyHostsPtr and DeploymentConfigMinimumHealthyHostsPtrOutput values.
No description provided by the author
DeploymentConfigTrafficRoutingConfigInput is an input type that accepts DeploymentConfigTrafficRoutingConfigArgs and DeploymentConfigTrafficRoutingConfigOutput values.
DeploymentConfigTrafficRoutingConfigPtrInput is an input type that accepts DeploymentConfigTrafficRoutingConfigArgs, DeploymentConfigTrafficRoutingConfigPtr and DeploymentConfigTrafficRoutingConfigPtrOutput values.
DeploymentConfigTrafficRoutingConfigTimeBasedCanaryInput is an input type that accepts DeploymentConfigTrafficRoutingConfigTimeBasedCanaryArgs and DeploymentConfigTrafficRoutingConfigTimeBasedCanaryOutput values.
DeploymentConfigTrafficRoutingConfigTimeBasedCanaryPtrInput is an input type that accepts DeploymentConfigTrafficRoutingConfigTimeBasedCanaryArgs, DeploymentConfigTrafficRoutingConfigTimeBasedCanaryPtr and DeploymentConfigTrafficRoutingConfigTimeBasedCanaryPtrOutput values.
DeploymentConfigTrafficRoutingConfigTimeBasedLinearInput is an input type that accepts DeploymentConfigTrafficRoutingConfigTimeBasedLinearArgs and DeploymentConfigTrafficRoutingConfigTimeBasedLinearOutput values.
DeploymentConfigTrafficRoutingConfigTimeBasedLinearPtrInput is an input type that accepts DeploymentConfigTrafficRoutingConfigTimeBasedLinearArgs, DeploymentConfigTrafficRoutingConfigTimeBasedLinearPtr and DeploymentConfigTrafficRoutingConfigTimeBasedLinearPtrOutput values.
DeploymentGroupAlarmConfigurationInput is an input type that accepts DeploymentGroupAlarmConfigurationArgs and DeploymentGroupAlarmConfigurationOutput values.
DeploymentGroupAlarmConfigurationPtrInput is an input type that accepts DeploymentGroupAlarmConfigurationArgs, DeploymentGroupAlarmConfigurationPtr and DeploymentGroupAlarmConfigurationPtrOutput values.
DeploymentGroupArrayInput is an input type that accepts DeploymentGroupArray and DeploymentGroupArrayOutput values.
DeploymentGroupAutoRollbackConfigurationInput is an input type that accepts DeploymentGroupAutoRollbackConfigurationArgs and DeploymentGroupAutoRollbackConfigurationOutput values.
DeploymentGroupAutoRollbackConfigurationPtrInput is an input type that accepts DeploymentGroupAutoRollbackConfigurationArgs, DeploymentGroupAutoRollbackConfigurationPtr and DeploymentGroupAutoRollbackConfigurationPtrOutput values.
DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs and DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionOutput values.
DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionPtrInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs, DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionPtr and DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionPtrOutput values.
DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionArgs and DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionOutput values.
DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionPtrInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionArgs, DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionPtr and DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionPtrOutput values.
DeploymentGroupBlueGreenDeploymentConfigInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigArgs and DeploymentGroupBlueGreenDeploymentConfigOutput values.
DeploymentGroupBlueGreenDeploymentConfigPtrInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigArgs, DeploymentGroupBlueGreenDeploymentConfigPtr and DeploymentGroupBlueGreenDeploymentConfigPtrOutput values.
DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessArgs and DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessOutput values.
DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessPtrInput is an input type that accepts DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessArgs, DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessPtr and DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessPtrOutput values.
DeploymentGroupDeploymentStyleInput is an input type that accepts DeploymentGroupDeploymentStyleArgs and DeploymentGroupDeploymentStyleOutput values.
DeploymentGroupDeploymentStylePtrInput is an input type that accepts DeploymentGroupDeploymentStyleArgs, DeploymentGroupDeploymentStylePtr and DeploymentGroupDeploymentStylePtrOutput values.
DeploymentGroupEc2TagFilterArrayInput is an input type that accepts DeploymentGroupEc2TagFilterArray and DeploymentGroupEc2TagFilterArrayOutput values.
DeploymentGroupEc2TagFilterInput is an input type that accepts DeploymentGroupEc2TagFilterArgs and DeploymentGroupEc2TagFilterOutput values.
DeploymentGroupEc2TagSetArrayInput is an input type that accepts DeploymentGroupEc2TagSetArray and DeploymentGroupEc2TagSetArrayOutput values.
DeploymentGroupEc2TagSetEc2TagFilterArrayInput is an input type that accepts DeploymentGroupEc2TagSetEc2TagFilterArray and DeploymentGroupEc2TagSetEc2TagFilterArrayOutput values.
DeploymentGroupEc2TagSetEc2TagFilterInput is an input type that accepts DeploymentGroupEc2TagSetEc2TagFilterArgs and DeploymentGroupEc2TagSetEc2TagFilterOutput values.
DeploymentGroupEc2TagSetInput is an input type that accepts DeploymentGroupEc2TagSetArgs and DeploymentGroupEc2TagSetOutput values.
DeploymentGroupEcsServiceInput is an input type that accepts DeploymentGroupEcsServiceArgs and DeploymentGroupEcsServiceOutput values.
DeploymentGroupEcsServicePtrInput is an input type that accepts DeploymentGroupEcsServiceArgs, DeploymentGroupEcsServicePtr and DeploymentGroupEcsServicePtrOutput values.
No description provided by the author
DeploymentGroupLoadBalancerInfoElbInfoArrayInput is an input type that accepts DeploymentGroupLoadBalancerInfoElbInfoArray and DeploymentGroupLoadBalancerInfoElbInfoArrayOutput values.
DeploymentGroupLoadBalancerInfoElbInfoInput is an input type that accepts DeploymentGroupLoadBalancerInfoElbInfoArgs and DeploymentGroupLoadBalancerInfoElbInfoOutput values.
DeploymentGroupLoadBalancerInfoInput is an input type that accepts DeploymentGroupLoadBalancerInfoArgs and DeploymentGroupLoadBalancerInfoOutput values.
DeploymentGroupLoadBalancerInfoPtrInput is an input type that accepts DeploymentGroupLoadBalancerInfoArgs, DeploymentGroupLoadBalancerInfoPtr and DeploymentGroupLoadBalancerInfoPtrOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupInfoArrayInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupInfoArray and DeploymentGroupLoadBalancerInfoTargetGroupInfoArrayOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupInfoInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupInfoArgs and DeploymentGroupLoadBalancerInfoTargetGroupInfoOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoArgs and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRouteInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRouteArgs and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRouteOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRoutePtrInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRouteArgs, DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRoutePtr and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoProdTrafficRoutePtrOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoPtrInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoArgs, DeploymentGroupLoadBalancerInfoTargetGroupPairInfoPtr and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoPtrOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTargetGroupArrayInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTargetGroupArray and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTargetGroupArrayOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTargetGroupInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTargetGroupArgs and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTargetGroupOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRouteInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRouteArgs and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRouteOutput values.
DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRoutePtrInput is an input type that accepts DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRouteArgs, DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRoutePtr and DeploymentGroupLoadBalancerInfoTargetGroupPairInfoTestTrafficRoutePtrOutput values.
DeploymentGroupMapInput is an input type that accepts DeploymentGroupMap and DeploymentGroupMapOutput values.
DeploymentGroupOnPremisesInstanceTagFilterArrayInput is an input type that accepts DeploymentGroupOnPremisesInstanceTagFilterArray and DeploymentGroupOnPremisesInstanceTagFilterArrayOutput values.
DeploymentGroupOnPremisesInstanceTagFilterInput is an input type that accepts DeploymentGroupOnPremisesInstanceTagFilterArgs and DeploymentGroupOnPremisesInstanceTagFilterOutput values.
No description provided by the author
DeploymentGroupTriggerConfigurationArrayInput is an input type that accepts DeploymentGroupTriggerConfigurationArray and DeploymentGroupTriggerConfigurationArrayOutput values.
DeploymentGroupTriggerConfigurationInput is an input type that accepts DeploymentGroupTriggerConfigurationArgs and DeploymentGroupTriggerConfigurationOutput values.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author