DeploymentConfig constructor

DeploymentConfig(
  1. String name, {
  2. DeploymentConfigArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new DeploymentConfig. name The Pulumi resource name. args Arguments used to configure this DeploymentConfig. The set of arguments for DeploymentConfig. options Resource options controlling this resource's behavior.

Implementation

DeploymentConfig(
  String name, {
  DeploymentConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:codedeploy/deploymentConfig:DeploymentConfig',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  computePlatform = registerOutput<String?>('computePlatform');
  deploymentConfigId = registerOutput<String>('deploymentConfigId');
  deploymentConfigName = registerOutput<String>('deploymentConfigName');
  minimumHealthyHosts = registerOutput<DeploymentConfigMinimumHealthyHosts?>('minimumHealthyHosts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DeploymentConfigMinimumHealthyHosts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  region = registerOutput<String>('region');
  trafficRoutingConfig = registerOutput<DeploymentConfigTrafficRoutingConfig?>('trafficRoutingConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DeploymentConfigTrafficRoutingConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  zonalConfig = registerOutput<DeploymentConfigZonalConfig?>('zonalConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DeploymentConfigZonalConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}