@Stability(value=Stable) public static final class CfnSecurityProfile.Builder extends Object implements software.amazon.jsii.Builder<CfnSecurityProfile>
CfnSecurityProfile.| Modifier and Type | Method and Description |
|---|---|
CfnSecurityProfile.Builder |
additionalMetricsToRetainV2(IResolvable additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
CfnSecurityProfile.Builder |
additionalMetricsToRetainV2(List<? extends Object> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
CfnSecurityProfile.Builder |
alertTargets(IResolvable alertTargets)
Specifies the destinations to which alerts are sent.
|
CfnSecurityProfile.Builder |
alertTargets(Map<String,? extends Object> alertTargets)
Specifies the destinations to which alerts are sent.
|
CfnSecurityProfile.Builder |
behaviors(IResolvable behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CfnSecurityProfile.Builder |
behaviors(List<? extends Object> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CfnSecurityProfile |
build() |
static CfnSecurityProfile.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSecurityProfile.Builder |
securityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
CfnSecurityProfile.Builder |
securityProfileName(String securityProfileName)
The name you gave to the security profile.
|
CfnSecurityProfile.Builder |
tags(List<? extends CfnTag> tags)
Metadata that can be used to manage the security profile.
|
CfnSecurityProfile.Builder |
targetArns(List<String> targetArns)
The ARN of the target (thing group) to which the security profile is attached.
|
@Stability(value=Stable) public static CfnSecurityProfile.Builder create(software.constructs.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.CfnSecurityProfile.AlertTargetProperty.Builder.@Stability(value=Stable) public CfnSecurityProfile.Builder additionalMetricsToRetainV2(IResolvable additionalMetricsToRetainV2)
By default, data is retained for any metric used in the profile's behaviors , but it's also retained for any metric specified here. Can be used with custom metrics; can't be used with dimensions.
additionalMetricsToRetainV2 - A list of metrics whose data is retained (stored). This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder additionalMetricsToRetainV2(List<? extends Object> additionalMetricsToRetainV2)
By default, data is retained for any metric used in the profile's behaviors , but it's also retained for any metric specified here. Can be used with custom metrics; can't be used with dimensions.
additionalMetricsToRetainV2 - A list of metrics whose data is retained (stored). This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder alertTargets(IResolvable alertTargets)
(Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
alertTargets - Specifies the destinations to which alerts are sent. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder alertTargets(Map<String,? extends Object> alertTargets)
(Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
alertTargets - Specifies the destinations to which alerts are sent. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder behaviors(IResolvable behaviors)
behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder behaviors(List<? extends Object> behaviors)
behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder securityProfileDescription(String securityProfileDescription)
securityProfileDescription - A description of the security profile. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder securityProfileName(String securityProfileName)
securityProfileName - The name you gave to the security profile. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder tags(List<? extends CfnTag> tags)
tags - Metadata that can be used to manage the security profile. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile.Builder targetArns(List<String> targetArns)
targetArns - The ARN of the target (thing group) to which the security profile is attached. This parameter is required.this@Stability(value=Stable) public CfnSecurityProfile build()
build in interface software.amazon.jsii.Builder<CfnSecurityProfile>Copyright © 2022. All rights reserved.