ArgoCdProperty Struct
Configuration settings for an Argo CD capability.
This includes the Kubernetes namespace, IAM Identity Center integration, RBAC role mappings, and network access configuration.
| Source | |
|---|---|
| Type last changed |
Example
// 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 argoCdProperty: eks.CfnCapability.ArgoCdProperty = {
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',
};
# 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
argo_cd_property = 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"
)
// 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.*;
ArgoCdProperty argoCdProperty = 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();
// 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 argoCdProperty = 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"
};
// 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"
argoCdProperty := &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
awsIdcIResolvable | CfnCapability.AwsIdcPropertyaws_idctyping.Union[IResolvable, AwsIdcProperty]awsIdcIResolvableAwsIdcIResolvableAwsIdcinterface{} required #This allows you to use your organization's identity provider for authentication to Argo CD.
endpointPrefixoptionalstringendpoint_prefixoptionalstrendpointPrefixoptionalStringEndpointPrefixoptionalstringEndpointPrefixoptional*string #When specified, EKS uses this prefix to generate the server endpoint; otherwise, the endpoint is generated automatically. This value cannot be changed after the capability is created.
namespaceoptionalstringnamespaceoptionalstrnamespaceoptionalStringNamespaceoptionalstringNamespaceoptional*string #If not specified, the default namespace is used.
networkAccessoptionalIResolvable | CfnCapability.network_accessoptionaltyping.Union[IResolvable, NetworkAccessProperty]networkAccessoptionalIResolvableNetworkAccessoptionalIResolvableNetworkAccessoptionalinterface{} #By default, the Argo CD server is accessible via a public endpoint. You can optionally specify one or more VPC endpoint IDs to enable private connectivity from your VPCs.
rbacRoleMappingsoptionalIResolvable | IResolvable | CfnCapability.rbac_role_mappingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ArgoCdRoleMappingProperty]]]rbacRoleMappingsoptionalIResolvableRbacRoleMappingsoptionalIResolvableRbacRoleMappingsoptionalinterface{} #Each mapping associates an Argo CD role (ADMIN, EDITOR, or VIEWER) with one or more IAM Identity Center identities.
serverUrloptionalstringserver_urloptionalstrserverUrloptionalStringServerUrloptionalstringServerUrloptional*string #Use this URL to access the Argo CD web interface and API.