# CfnTemplateGroupAccessControlEntryProps

Properties for defining a `CfnTemplateGroupAccessControlEntry`.

Used as props by: [CfnTemplateGroupAccessControlEntry](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pcaconnectorad.CfnTemplateGroupAccessControlEntry.html)

- Source: Generated at build time
- Type last changed: v2.258.0 · 4 Jun 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcaconnectorad as pcaconnectorad } from 'aws-cdk-lib';
const cfnTemplateGroupAccessControlEntryProps: pcaconnectorad.CfnTemplateGroupAccessControlEntryProps = {
  accessRights: {
    autoEnroll: 'autoEnroll',
    enroll: 'enroll',
  },
  groupDisplayName: 'groupDisplayName',
  groupSecurityIdentifier: 'groupSecurityIdentifier',
  templateArn: 'templateArn',
};
```

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_pcaconnectorad as pcaconnectorad

cfn_template_group_access_control_entry_props = pcaconnectorad.CfnTemplateGroupAccessControlEntryProps(
    access_rights=pcaconnectorad.CfnTemplateGroupAccessControlEntry.AccessRightsProperty(
        auto_enroll="autoEnroll",
        enroll="enroll"
    ),
    group_display_name="groupDisplayName",
    group_security_identifier="groupSecurityIdentifier",
    template_arn="templateArn"
)
```

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.pcaconnectorad.*;

CfnTemplateGroupAccessControlEntryProps cfnTemplateGroupAccessControlEntryProps = CfnTemplateGroupAccessControlEntryProps.builder()
        .accessRights(AccessRightsProperty.builder()
                .autoEnroll("autoEnroll")
                .enroll("enroll")
                .build())
        .groupDisplayName("groupDisplayName")
        .groupSecurityIdentifier("groupSecurityIdentifier")
        .templateArn("templateArn")
        .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.PCAConnectorAD;

var cfnTemplateGroupAccessControlEntryProps = new CfnTemplateGroupAccessControlEntryProps {
    AccessRights = new AccessRightsProperty {
        AutoEnroll = "autoEnroll",
        Enroll = "enroll"
    },
    GroupDisplayName = "groupDisplayName",
    GroupSecurityIdentifier = "groupSecurityIdentifier",
    TemplateArn = "templateArn"
};
```

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"

cfnTemplateGroupAccessControlEntryProps := &CfnTemplateGroupAccessControlEntryProps{
	AccessRights: &AccessRightsProperty{
		AutoEnroll: jsii.String("autoEnroll"),
		Enroll: jsii.String("enroll"),
	},
	GroupDisplayName: jsii.String("groupDisplayName"),
	GroupSecurityIdentifier: jsii.String("groupSecurityIdentifier"),
	TemplateArn: jsii.String("templateArn"),
}
```

## Properties

- `accessRights`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplateGroupAccessControlEntry.AccessRightsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pcaconnectorad.CfnTemplateGroupAccessControlEntry.AccessRightsProperty.html) (required) — Permissions to allow or deny an Active Directory group to enroll or autoenroll certificates issued against a template.

- `groupDisplayName`: string (required) — Name of the Active Directory group.

  This name does not need to match the group name in Active Directory.

- `groupSecurityIdentifier`: string (required) — Security identifier (SID) of the group object from Active Directory.

  The SID starts with "S-".

- `templateArn`: string (required) — The Amazon Resource Name (ARN) that was returned when you called [CreateTemplate](https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateTemplate.html) .
