@Stability(value=Stable) public static final class CfnDetector.Builder extends Object implements software.amazon.jsii.Builder<CfnDetector>
CfnDetector.| Modifier and Type | Method and Description |
|---|---|
CfnDetector |
build() |
static CfnDetector.Builder |
create(Construct scope,
String id) |
CfnDetector.Builder |
dataSources(CfnDetector.CFNDataSourceConfigurationsProperty dataSources)
Describes which data sources will be enabled for the detector.
|
CfnDetector.Builder |
dataSources(IResolvable dataSources)
Describes which data sources will be enabled for the detector.
|
CfnDetector.Builder |
enable(Boolean enable)
Specifies whether the detector is to be enabled on creation.
|
CfnDetector.Builder |
enable(IResolvable enable)
Specifies whether the detector is to be enabled on creation.
|
CfnDetector.Builder |
findingPublishingFrequency(String findingPublishingFrequency)
Specifies how frequently updated findings are exported.
|
CfnDetector.Builder |
tags(List<? extends CfnTag> tags)
The tags to be added to a new detector resource.
|
@Stability(value=Stable) public static CfnDetector.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDetector.CFNDataSourceConfigurationsProperty.Builder.@Stability(value=Stable) public CfnDetector.Builder enable(Boolean enable)
enable - Specifies whether the detector is to be enabled on creation. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder enable(IResolvable enable)
enable - Specifies whether the detector is to be enabled on creation. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder dataSources(IResolvable dataSources)
dataSources - Describes which data sources will be enabled for the detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder dataSources(CfnDetector.CFNDataSourceConfigurationsProperty dataSources)
dataSources - Describes which data sources will be enabled for the detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder findingPublishingFrequency(String findingPublishingFrequency)
findingPublishingFrequency - Specifies how frequently updated findings are exported. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder tags(List<? extends CfnTag> tags)
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
tags - The tags to be added to a new detector resource. This parameter is required.this@Stability(value=Stable) public CfnDetector build()
build in interface software.amazon.jsii.Builder<CfnDetector>Copyright © 2022. All rights reserved.