# CfnVerifiedAccessGroupProps

Struct · External

Properties for defining a `CfnVerifiedAccessGroup`.

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

- Source: Generated at build time
- Type last changed: v2.103.0 · 26 Oct 2023

## Example

TypeScript:

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

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

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

C#:

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

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

- `description`: string — A description for the AWS Verified Access group.

- `policyDocument`: string — The Verified Access policy document.

- `policyEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The status of the Verified Access policy.

- `sseSpecification`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVerifiedAccessGroup.SseSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessGroup.SseSpecificationProperty.html) — The options for additional server side encryption.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags.

- `verifiedAccessInstanceId`: string (required) — The ID of the AWS Verified Access instance.
