Interface IBaseScalableAttributeProps
Properties for a ScalableTableAttribute.
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.AWS.ApplicationAutoScaling.dll
Syntax (csharp)
public interface IBaseScalableAttributeProps : IEnableScalingProps
Syntax (vb)
Public Interface IBaseScalableAttributeProps
Inherits IEnableScalingProps
Remarks
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.ApplicationAutoScaling;
using Amazon.CDK.AWS.IAM;
Role role;
var baseScalableAttributeProps = new BaseScalableAttributeProps {
Dimension = "dimension",
MaxCapacity = 123,
ResourceId = "resourceId",
Role = role,
ServiceNamespace = ServiceNamespace.ECS,
// the properties below are optional
MinCapacity = 123
};
Synopsis
Properties
Dimension | Scalable dimension of the attribute. |
ResourceId | Resource ID of the attribute. |
Role | Role to use for scaling. |
ServiceNamespace | Service namespace of the scalable attribute. |
Properties
Dimension
Scalable dimension of the attribute.
string Dimension { get; }
Property Value
System.String
ResourceId
Resource ID of the attribute.
string ResourceId { get; }
Property Value
System.String
Role
ServiceNamespace
Service namespace of the scalable attribute.
ServiceNamespace ServiceNamespace { get; }
Property Value