# ArgoCdRoleMappingProperty

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.

- Source: Generated at build time
- Type last changed: v2.231.0 · 1 Dec 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `identities`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCapability.SsoIdentityProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCapability.SsoIdentityProperty.html)[] (required) — A list of IAM Identity CenterIAM;

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

- `role`: 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.
