CapabilityConfigurationProperty Struct
Configuration settings for a capability.
The structure of this object varies depending on the capability type.
| 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 capabilityConfigurationProperty: eks.CfnCapability.CapabilityConfigurationProperty = {
ack: {
disabledServices: ['disabledServices'],
enableCrossNamespace: false,
},
argoCd: {
awsIdc: {
idcInstanceArn: 'idcInstanceArn',
// the properties below are optional
idcManagedApplicationArn: 'idcManagedApplicationArn',
idcRegion: 'idcRegion',
},
// the properties below are optional
endpointPrefix: 'endpointPrefix',
namespace: 'namespace',
networkAccess: {
vpceIds: ['vpceIds'],
},
rbacRoleMappings: [{
identities: [{
id: 'id',
type: 'type',
}],
role: 'role',
}],
serverUrl: 'serverUrl',
},
};
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
capability_configuration_property = eks.CfnCapability.CapabilityConfigurationProperty(
ack=eks.CfnCapability.AckProperty(
disabled_services=["disabledServices"],
enable_cross_namespace=False
),
argo_cd=eks.CfnCapability.ArgoCdProperty(
aws_idc=eks.CfnCapability.AwsIdcProperty(
idc_instance_arn="idcInstanceArn",
# the properties below are optional
idc_managed_application_arn="idcManagedApplicationArn",
idc_region="idcRegion"
),
# the properties below are optional
endpoint_prefix="endpointPrefix",
namespace="namespace",
network_access=eks.CfnCapability.NetworkAccessProperty(
vpce_ids=["vpceIds"]
),
rbac_role_mappings=[eks.CfnCapability.ArgoCdRoleMappingProperty(
identities=[eks.CfnCapability.SsoIdentityProperty(
id="id",
type="type"
)],
role="role"
)],
server_url="serverUrl"
)
)
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.*;
CapabilityConfigurationProperty capabilityConfigurationProperty = CapabilityConfigurationProperty.builder()
.ack(AckProperty.builder()
.disabledServices(List.of("disabledServices"))
.enableCrossNamespace(false)
.build())
.argoCd(ArgoCdProperty.builder()
.awsIdc(AwsIdcProperty.builder()
.idcInstanceArn("idcInstanceArn")
// the properties below are optional
.idcManagedApplicationArn("idcManagedApplicationArn")
.idcRegion("idcRegion")
.build())
// the properties below are optional
.endpointPrefix("endpointPrefix")
.namespace("namespace")
.networkAccess(NetworkAccessProperty.builder()
.vpceIds(List.of("vpceIds"))
.build())
.rbacRoleMappings(List.of(ArgoCdRoleMappingProperty.builder()
.identities(List.of(SsoIdentityProperty.builder()
.id("id")
.type("type")
.build()))
.role("role")
.build()))
.serverUrl("serverUrl")
.build())
.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 capabilityConfigurationProperty = new CapabilityConfigurationProperty {
Ack = new AckProperty {
DisabledServices = new [] { "disabledServices" },
EnableCrossNamespace = false
},
ArgoCd = new ArgoCdProperty {
AwsIdc = new AwsIdcProperty {
IdcInstanceArn = "idcInstanceArn",
// the properties below are optional
IdcManagedApplicationArn = "idcManagedApplicationArn",
IdcRegion = "idcRegion"
},
// the properties below are optional
EndpointPrefix = "endpointPrefix",
Namespace = "namespace",
NetworkAccess = new NetworkAccessProperty {
VpceIds = new [] { "vpceIds" }
},
RbacRoleMappings = new [] { new ArgoCdRoleMappingProperty {
Identities = new [] { new SsoIdentityProperty {
Id = "id",
Type = "type"
} },
Role = "role"
} },
ServerUrl = "serverUrl"
}
};
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"
capabilityConfigurationProperty := &CapabilityConfigurationProperty{
Ack: &AckProperty{
DisabledServices: []*string{
jsii.String("disabledServices"),
},
EnableCrossNamespace: jsii.Boolean(false),
},
ArgoCd: &ArgoCdProperty{
AwsIdc: &AwsIdcProperty{
IdcInstanceArn: jsii.String("idcInstanceArn"),
// the properties below are optional
IdcManagedApplicationArn: jsii.String("idcManagedApplicationArn"),
IdcRegion: jsii.String("idcRegion"),
},
// the properties below are optional
EndpointPrefix: jsii.String("endpointPrefix"),
Namespace: jsii.String("namespace"),
NetworkAccess: &NetworkAccessProperty{
VpceIds: []*string{
jsii.String("vpceIds"),
},
},
RbacRoleMappings: []interface{}{
&ArgoCdRoleMappingProperty{
Identities: []interface{}{
&SsoIdentityProperty{
Id: jsii.String("id"),
Type: jsii.String("type"),
},
},
Role: jsii.String("role"),
},
},
ServerUrl: jsii.String("serverUrl"),
},
}
Properties
ackoptionalIResolvable | CfnCapability.AckPropertyackoptionaltyping.Union[IResolvable, AckProperty]ackoptionalIResolvableAckoptionalIResolvableAckoptionalinterface{} #Configuration settings for an ACK (AWS Controllers for Kubernetes) capability.
argoCdoptionalIResolvable | CfnCapability.ArgoCdPropertyargo_cdoptionaltyping.Union[IResolvable, ArgoCdProperty]argoCdoptionalIResolvableArgoCdoptionalIResolvableArgoCdoptionalinterface{} #Configuration settings for an Argo CD capability.
This includes the Kubernetes namespace, IAM Identity Center integration, RBAC role mappings, and network access configuration.