ControlPlanePlacementProperty Struct
The placement configuration for all the control plane instances of your local Amazon EKS cluster on an AWS Outpost.
For more information, see Capacity considerations in the Amazon EKS User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const controlPlanePlacementProperty: eks.CfnCluster.ControlPlanePlacementProperty = {
groupName: 'groupName',
spreadLevel: 'spreadLevel',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks
control_plane_placement_property = eks.CfnCluster.ControlPlanePlacementProperty(
group_name="groupName",
spread_level="spreadLevel"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
ControlPlanePlacementProperty controlPlanePlacementProperty = ControlPlanePlacementProperty.builder()
.groupName("groupName")
.spreadLevel("spreadLevel")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var controlPlanePlacementProperty = new ControlPlanePlacementProperty {
GroupName = "groupName",
SpreadLevel = "spreadLevel"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
controlPlanePlacementProperty := &ControlPlanePlacementProperty{
GroupName: jsii.String("groupName"),
SpreadLevel: jsii.String("spreadLevel"),
}
Properties
groupNameoptionalstringgroup_nameoptionalstrgroupNameoptionalStringGroupNameoptionalstringGroupNameoptional*string #The name of the placement group for the Kubernetes control plane instances.
This property is only used for a local cluster on an AWS Outpost.
spreadLeveloptionalstringspread_leveloptionalstrspreadLeveloptionalStringSpreadLeveloptionalstringSpreadLeveloptional*string #Optional parameter to specify the placement group spread level for control plane instances.
If not provided, EKS will deploy control plane instances without a placement group.