Skip to content
v2.278.0

CfnVerifiedAccessGroupProps Struct ​

Properties for defining a CfnVerifiedAccessGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVerifiedAccessGroupProps: ec2.CfnVerifiedAccessGroupProps = {
  verifiedAccessInstanceId: 'verifiedAccessInstanceId',

  // the properties below are optional
  description: 'description',
  policyDocument: 'policyDocument',
  policyEnabled: false,
  sseSpecification: {
    customerManagedKeyEnabled: false,
    kmsKeyArn: 'kmsKeyArn',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_verified_access_group_props = ec2.CfnVerifiedAccessGroupProps(
    verified_access_instance_id="verifiedAccessInstanceId",

    # the properties below are optional
    description="description",
    policy_document="policyDocument",
    policy_enabled=False,
    sse_specification=ec2.CfnVerifiedAccessGroup.SseSpecificationProperty(
        customer_managed_key_enabled=False,
        kms_key_arn="kmsKeyArn"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.ec2.*;

CfnVerifiedAccessGroupProps cfnVerifiedAccessGroupProps = CfnVerifiedAccessGroupProps.builder()
        .verifiedAccessInstanceId("verifiedAccessInstanceId")

        // the properties below are optional
        .description("description")
        .policyDocument("policyDocument")
        .policyEnabled(false)
        .sseSpecification(SseSpecificationProperty.builder()
                .customerManagedKeyEnabled(false)
                .kmsKeyArn("kmsKeyArn")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.EC2;

var cfnVerifiedAccessGroupProps = new CfnVerifiedAccessGroupProps {
    VerifiedAccessInstanceId = "verifiedAccessInstanceId",

    // the properties below are optional
    Description = "description",
    PolicyDocument = "policyDocument",
    PolicyEnabled = false,
    SseSpecification = new SseSpecificationProperty {
        CustomerManagedKeyEnabled = false,
        KmsKeyArn = "kmsKeyArn"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnVerifiedAccessGroupProps := &CfnVerifiedAccessGroupProps{
	VerifiedAccessInstanceId: jsii.String("verifiedAccessInstanceId"),

	// the properties below are optional
	Description: jsii.String("description"),
	PolicyDocument: jsii.String("policyDocument"),
	PolicyEnabled: jsii.Boolean(false),
	SseSpecification: &SseSpecificationProperty{
		CustomerManagedKeyEnabled: jsii.Boolean(false),
		KmsKeyArn: jsii.String("kmsKeyArn"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A description for the AWS Verified Access group.
policyDocumentoptionalstringpolicy_documentoptionalstrpolicyDocumentoptionalStringPolicyDocumentoptionalstringPolicyDocumentoptional*string #
The Verified Access policy document.
policyEnabledoptionalboolean | IResolvablepolicy_enabledoptionaltyping.Union[bool, IResolvable]policyEnabledoptionalBooleanPolicyEnabledoptionalboolPolicyEnabledoptionalinterface{} #
The status of the Verified Access policy.
sseSpecificationoptionalIResolvable | CfnVerifiedAccessGroup.SseSpecificationPropertysse_specificationoptionaltyping.Union[IResolvable, SseSpecificationProperty]sseSpecificationoptionalIResolvableSseSpecificationoptionalIResolvableSseSpecificationoptionalinterface{} #
The options for additional server side encryption.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags.
verifiedAccessInstanceIdstringverified_access_instance_idstrverifiedAccessInstanceIdStringVerifiedAccessInstanceIdstringVerifiedAccessInstanceId*string required #
The ID of the AWS Verified Access instance.