Skip to content
v2.278.0

ArgoCdRoleMappingProperty Struct ​

A mapping between an Argo CD role and IAM Identity CenterIAM;

Identity Center identities. This defines which users or groups have specific permissions in Argo CD.

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 argoCdRoleMappingProperty: eks.CfnCapability.ArgoCdRoleMappingProperty = {
  identities: [{
    id: 'id',
    type: 'type',
  }],
  role: 'role',
};
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

argo_cd_role_mapping_property = eks.CfnCapability.ArgoCdRoleMappingProperty(
    identities=[eks.CfnCapability.SsoIdentityProperty(
        id="id",
        type="type"
    )],
    role="role"
)
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.*;

ArgoCdRoleMappingProperty argoCdRoleMappingProperty = ArgoCdRoleMappingProperty.builder()
        .identities(List.of(SsoIdentityProperty.builder()
                .id("id")
                .type("type")
                .build()))
        .role("role")
        .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 argoCdRoleMappingProperty = new ArgoCdRoleMappingProperty {
    Identities = new [] { new SsoIdentityProperty {
        Id = "id",
        Type = "type"
    } },
    Role = "role"
};
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"

argoCdRoleMappingProperty := &ArgoCdRoleMappingProperty{
	Identities: []interface{}{
		&SsoIdentityProperty{
			Id: jsii.String("id"),
			Type: jsii.String("type"),
		},
	},
	Role: jsii.String("role"),
}

Properties ​

identitiesIResolvable | IResolvable | CfnCapability.SsoIdentityProperty[]identitiestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SsoIdentityProperty]]]identitiesIResolvableIdentitiesIResolvableIdentitiesinterface{} required #
A list of IAM Identity CenterIAM;

Identity Center identities (users or groups) that should be assigned this Argo CD role.

rolestringrolestrroleStringRolestringRole*string required #
The Argo CD role to assign. Valid values are:.
  • ADMIN – Full administrative access to Argo CD.
  • EDITOR – Edit access to Argo CD resources.
  • VIEWER – Read-only access to Argo CD resources.