Show / Hide Table of Contents

Interface ICfnCapacityProviderProps

Properties for defining a CfnCapacityProvider.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface ICfnCapacityProviderProps
Syntax (vb)
Public Interface ICfnCapacityProviderProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;

var cfnCapacityProviderProps = new CfnCapacityProviderProps {
    AutoScalingGroupProvider = new AutoScalingGroupProviderProperty {
        AutoScalingGroupArn = "autoScalingGroupArn",

        // the properties below are optional
        ManagedScaling = new ManagedScalingProperty {
            InstanceWarmupPeriod = 123,
            MaximumScalingStepSize = 123,
            MinimumScalingStepSize = 123,
            Status = "status",
            TargetCapacity = 123
        },
        ManagedTerminationProtection = "managedTerminationProtection"
    },

    // the properties below are optional
    Name = "name",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Properties

AutoScalingGroupProvider

The Auto Scaling group settings for the capacity provider.

Name

The name of the capacity provider.

Tags

The metadata that you apply to the capacity provider to help you categorize and organize it.

Properties

AutoScalingGroupProvider

The Auto Scaling group settings for the capacity provider.

object AutoScalingGroupProvider { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-autoscalinggroupprovider

Name

The name of the capacity provider.

virtual string Name { get; }
Property Value

System.String

Remarks

If a name is specified, it cannot start with aws , ecs , or fargate . If no name is specified, a default name in the CFNStackName-CFNResourceName-RandomString format is used.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-name

Tags

The metadata that you apply to the capacity provider to help you categorize and organize it.

virtual ICfnTag[] Tags { get; }
Property Value

ICfnTag[]

Remarks

Each tag consists of a key and an optional value. You define both.

The following basic restrictions apply to tags:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-tags

    Back to top Generated by DocFX