Skip to content
v2.278.0

CfnAggregatorV2Props Struct ​

Properties for defining a CfnAggregatorV2.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const cfnAggregatorV2Props: securityhub.CfnAggregatorV2Props = {
  linkedRegions: ['linkedRegions'],
  regionLinkingMode: 'regionLinkingMode',

  // the properties below are optional
  tags: {
    tagsKey: 'tags',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub

cfn_aggregator_v2_props = securityhub.CfnAggregatorV2Props(
    linked_regions=["linkedRegions"],
    region_linking_mode="regionLinkingMode",

    # the properties below are optional
    tags={
        "tags_key": "tags"
    }
)
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.securityhub.*;

CfnAggregatorV2Props cfnAggregatorV2Props = CfnAggregatorV2Props.builder()
        .linkedRegions(List.of("linkedRegions"))
        .regionLinkingMode("regionLinkingMode")

        // the properties below are optional
        .tags(Map.of(
                "tagsKey", "tags"))
        .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.SecurityHub;

var cfnAggregatorV2Props = new CfnAggregatorV2Props {
    LinkedRegions = new [] { "linkedRegions" },
    RegionLinkingMode = "regionLinkingMode",

    // the properties below are optional
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
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"

cfnAggregatorV2Props := &CfnAggregatorV2Props{
	LinkedRegions: []*string{
		jsii.String("linkedRegions"),
	},
	RegionLinkingMode: jsii.String("regionLinkingMode"),

	// the properties below are optional
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

Properties ​

linkedRegionsstring[]linked_regionstyping.List[str]linkedRegionsList<String>LinkedRegionsstring[]LinkedRegions*[]*string required #
The list of Regions that are linked to the aggregation Region.
regionLinkingModestringregion_linking_modestrregionLinkingModeStringRegionLinkingModestringRegionLinkingMode*string required #
Determines how Regions are linked to an Aggregator V2.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #
A list of key-value pairs to be applied to the AggregatorV2.