Skip to content
v2.274.0

CfnScopeProps Struct ​

Properties for defining a CfnScope.

Example ​

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',
  }],
};

Properties ​

scopeConfigurationstringscope_configurationstrscopeConfigurationStringScopeConfigurationstringScopeConfiguration*string#
The scope configuration as a JSON string.
scopeDescriptionstringscope_descriptionstrscopeDescriptionStringScopeDescriptionstringScopeDescription*string#
A description of the scope.
scopeNamestringscope_namestrscopeNameStringScopeNamestringScopeName*stringrequired#
The name of the scope.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The tags associated with the scope.