DeploymentStrategy constructor

DeploymentStrategy(
  1. String name, {
  2. DeploymentStrategyArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

DeploymentStrategy(
  String name, {
  DeploymentStrategyArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:appconfig/deploymentStrategy:DeploymentStrategy',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  deploymentDurationInMinutes = registerOutput<int>('deploymentDurationInMinutes');
  description = registerOutput<String?>('description');
  finalBakeTimeInMinutes = registerOutput<int?>('finalBakeTimeInMinutes');
  growthFactor = registerOutput<double>('growthFactor');
  growthType = registerOutput<String?>('growthType');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  replicateTo = registerOutput<String>('replicateTo');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}