# CfnScopeProps

Properties for defining a `CfnScope`.

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

- Source: Generated at build time
- Type last changed: v2.273.0 · 8 Oct 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_networksecuritymanager as networksecuritymanager } from 'aws-cdk-lib';
const cfnScopeProps: networksecuritymanager.CfnScopeProps = {
  scopeName: 'scopeName',

  // the properties below are optional
  scopeConfiguration: 'scopeConfiguration',
  scopeDescription: 'scopeDescription',
  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_networksecuritymanager as networksecuritymanager

cfn_scope_props = networksecuritymanager.CfnScopeProps(
    scope_name="scopeName",

    # the properties below are optional
    scope_configuration="scopeConfiguration",
    scope_description="scopeDescription",
    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.networksecuritymanager.*;

CfnScopeProps cfnScopeProps = CfnScopeProps.builder()
        .scopeName("scopeName")

        // the properties below are optional
        .scopeConfiguration("scopeConfiguration")
        .scopeDescription("scopeDescription")
        .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.NetworkSecurityManager;

var cfnScopeProps = new CfnScopeProps {
    ScopeName = "scopeName",

    // the properties below are optional
    ScopeConfiguration = "scopeConfiguration",
    ScopeDescription = "scopeDescription",
    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"

cfnScopeProps := &CfnScopeProps{
	ScopeName: jsii.String("scopeName"),

	// the properties below are optional
	ScopeConfiguration: jsii.String("scopeConfiguration"),
	ScopeDescription: jsii.String("scopeDescription"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `scopeConfiguration`: string — The scope configuration as a JSON string.

- `scopeDescription`: string — A description of the scope.

- `scopeName`: string (required) — The name of the scope.

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