# CfnSecurityRequirementPackProps

Properties for defining a `CfnSecurityRequirementPack`.

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

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 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_securityagent as securityagent } from 'aws-cdk-lib';
const cfnSecurityRequirementPackProps: securityagent.CfnSecurityRequirementPackProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  kmsKeyId: 'kmsKeyId',
  securityRequirements: [{
    description: 'description',
    domain: 'domain',
    evaluation: 'evaluation',
    name: 'name',

    // the properties below are optional
    remediation: 'remediation',
  }],
  status: 'status',
  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_securityagent as securityagent

cfn_security_requirement_pack_props = securityagent.CfnSecurityRequirementPackProps(
    name="name",

    # the properties below are optional
    description="description",
    kms_key_id="kmsKeyId",
    security_requirements=[securityagent.CfnSecurityRequirementPack.SecurityRequirementProperty(
        description="description",
        domain="domain",
        evaluation="evaluation",
        name="name",

        # the properties below are optional
        remediation="remediation"
    )],
    status="status",
    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.securityagent.*;

CfnSecurityRequirementPackProps cfnSecurityRequirementPackProps = CfnSecurityRequirementPackProps.builder()
        .name("name")

        // the properties below are optional
        .description("description")
        .kmsKeyId("kmsKeyId")
        .securityRequirements(List.of(SecurityRequirementProperty.builder()
                .description("description")
                .domain("domain")
                .evaluation("evaluation")
                .name("name")

                // the properties below are optional
                .remediation("remediation")
                .build()))
        .status("status")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.SecurityAgent;

var cfnSecurityRequirementPackProps = new CfnSecurityRequirementPackProps {
    Name = "name",

    // the properties below are optional
    Description = "description",
    KmsKeyId = "kmsKeyId",
    SecurityRequirements = new [] { new SecurityRequirementProperty {
        Description = "description",
        Domain = "domain",
        Evaluation = "evaluation",
        Name = "name",

        // the properties below are optional
        Remediation = "remediation"
    } },
    Status = "status",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnSecurityRequirementPackProps := &CfnSecurityRequirementPackProps{
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	KmsKeyId: jsii.String("kmsKeyId"),
	SecurityRequirements: []interface{}{
		&SecurityRequirementProperty{
			Description: jsii.String("description"),
			Domain: jsii.String("domain"),
			Evaluation: jsii.String("evaluation"),
			Name: jsii.String("name"),

			// the properties below are optional
			Remediation: jsii.String("remediation"),
		},
	},
	Status: jsii.String("status"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `description`: string — Description of the pack.

- `kmsKeyId`: string — KMS key for client-side encryption of pack contents.

- `name`: string (required) — Name of the security requirement pack.

- `securityRequirements`: [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) | [CfnSecurityRequirementPack.SecurityRequirementProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_securityagent.CfnSecurityRequirementPack.SecurityRequirementProperty.html)[] — Security requirements within this pack.

- `status`: string — Whether the pack is enabled or disabled.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags for the security requirement pack.
