Skip to content
v2.278.0

AccessRightsProperty ​

Struct External

Allow or deny permissions for an Active Directory group to enroll or autoenroll certificates for a template.

Example ​

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 accessRightsProperty: pcaconnectorad.CfnTemplateGroupAccessControlEntry.AccessRightsProperty = {
  autoEnroll: 'autoEnroll',
  enroll: 'enroll',
};
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

access_rights_property = pcaconnectorad.CfnTemplateGroupAccessControlEntry.AccessRightsProperty(
    auto_enroll="autoEnroll",
    enroll="enroll"
)
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.*;

AccessRightsProperty accessRightsProperty = AccessRightsProperty.builder()
        .autoEnroll("autoEnroll")
        .enroll("enroll")
        .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.PCAConnectorAD;

var accessRightsProperty = new AccessRightsProperty {
    AutoEnroll = "autoEnroll",
    Enroll = "enroll"
};
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"

accessRightsProperty := &AccessRightsProperty{
	AutoEnroll: jsii.String("autoEnroll"),
	Enroll: jsii.String("enroll"),
}

Properties ​

autoEnrolloptionalstringauto_enrolloptionalstrautoEnrolloptionalStringAutoEnrolloptionalstringAutoEnrolloptional*string #
Allow or deny an Active Directory group from autoenrolling certificates issued against a template.

The Active Directory group must be allowed to enroll to allow autoenrollment

enrolloptionalstringenrolloptionalstrenrolloptionalStringEnrolloptionalstringEnrolloptional*string #
Allow or deny an Active Directory group from enrolling certificates issued against a template.