Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IScalableTargetRef ¶
type IScalableTargetRef interface {
constructs.IConstruct
interfaces.IEnvironmentAware
// A reference to a ScalableTarget resource.
// Experimental.
ScalableTargetRef() *ScalableTargetReference
}
Indicates that this resource can be referenced as a ScalableTarget. Experimental.
type IScalingPolicyRef ¶
type IScalingPolicyRef interface {
constructs.IConstruct
interfaces.IEnvironmentAware
// A reference to a ScalingPolicy resource.
// Experimental.
ScalingPolicyRef() *ScalingPolicyReference
}
Indicates that this resource can be referenced as a ScalingPolicy. Experimental.
type ScalableTargetReference ¶
type ScalableTargetReference struct {
// The ResourceId of the ScalableTarget resource.
ResourceId *string `field:"required" json:"resourceId" yaml:"resourceId"`
// The ScalableDimension of the ScalableTarget resource.
ScalableDimension *string `field:"required" json:"scalableDimension" yaml:"scalableDimension"`
// The ServiceNamespace of the ScalableTarget resource.
ServiceNamespace *string `field:"required" json:"serviceNamespace" yaml:"serviceNamespace"`
}
A reference to a ScalableTarget resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
scalableTargetReference := &ScalableTargetReference{
ResourceId: jsii.String("resourceId"),
ScalableDimension: jsii.String("scalableDimension"),
ServiceNamespace: jsii.String("serviceNamespace"),
}
type ScalingPolicyReference ¶
type ScalingPolicyReference struct {
// The ScalableDimension of the ScalingPolicy resource.
ScalableDimension *string `field:"required" json:"scalableDimension" yaml:"scalableDimension"`
// The Arn of the ScalingPolicy resource.
ScalingPolicyArn *string `field:"required" json:"scalingPolicyArn" yaml:"scalingPolicyArn"`
}
A reference to a ScalingPolicy resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
scalingPolicyReference := &ScalingPolicyReference{
ScalableDimension: jsii.String("scalableDimension"),
ScalingPolicyArn: jsii.String("scalingPolicyArn"),
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.