Show / Hide Table of Contents

Class CfnConfigurationPolicyPropsMixin.PolicyProperty

An object that defines how AWS Security Hub CSPM is configured.

Inheritance
object
CfnConfigurationPolicyPropsMixin.PolicyProperty
Implements
CfnConfigurationPolicyPropsMixin.IPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnConfigurationPolicyPropsMixin.PolicyProperty : CfnConfigurationPolicyPropsMixin.IPolicyProperty
Syntax (vb)
Public Class CfnConfigurationPolicyPropsMixin.PolicyProperty Implements CfnConfigurationPolicyPropsMixin.IPolicyProperty
Remarks

It includes whether Security Hub CSPM is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub CSPM disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub CSPM enables all other controls (including newly released controls).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-policy.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub;

             var policyProperty = new PolicyProperty {
                 SecurityHub = new SecurityHubPolicyProperty {
                     EnabledStandardIdentifiers = new [] { "enabledStandardIdentifiers" },
                     SecurityControlsConfiguration = new SecurityControlsConfigurationProperty {
                         DisabledSecurityControlIdentifiers = new [] { "disabledSecurityControlIdentifiers" },
                         EnabledSecurityControlIdentifiers = new [] { "enabledSecurityControlIdentifiers" },
                         SecurityControlCustomParameters = new [] { new SecurityControlCustomParameterProperty {
                             Parameters = new Dictionary<string, object> {
                                 { "parametersKey", new ParameterConfigurationProperty {
                                     Value = new ParameterValueProperty {
                                         Boolean = false,
                                         Double = 123,
                                         Enum = "enum",
                                         EnumList = new [] { "enumList" },
                                         Integer = 123,
                                         IntegerList = new [] { 123 },
                                         String = "string",
                                         StringList = new [] { "stringList" }
                                     },
                                     ValueType = "valueType"
                                 } }
                             },
                             SecurityControlId = "securityControlId"
                         } }
                     },
                     ServiceEnabled = false
                 }
             };

Synopsis

Constructors

PolicyProperty()

An object that defines how AWS Security Hub CSPM is configured.

Properties

SecurityHub

The AWS service that the configuration policy applies to.

Constructors

PolicyProperty()

An object that defines how AWS Security Hub CSPM is configured.

public PolicyProperty()
Remarks

It includes whether Security Hub CSPM is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub CSPM disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub CSPM enables all other controls (including newly released controls).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-policy.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub;

             var policyProperty = new PolicyProperty {
                 SecurityHub = new SecurityHubPolicyProperty {
                     EnabledStandardIdentifiers = new [] { "enabledStandardIdentifiers" },
                     SecurityControlsConfiguration = new SecurityControlsConfigurationProperty {
                         DisabledSecurityControlIdentifiers = new [] { "disabledSecurityControlIdentifiers" },
                         EnabledSecurityControlIdentifiers = new [] { "enabledSecurityControlIdentifiers" },
                         SecurityControlCustomParameters = new [] { new SecurityControlCustomParameterProperty {
                             Parameters = new Dictionary<string, object> {
                                 { "parametersKey", new ParameterConfigurationProperty {
                                     Value = new ParameterValueProperty {
                                         Boolean = false,
                                         Double = 123,
                                         Enum = "enum",
                                         EnumList = new [] { "enumList" },
                                         Integer = 123,
                                         IntegerList = new [] { 123 },
                                         String = "string",
                                         StringList = new [] { "stringList" }
                                     },
                                     ValueType = "valueType"
                                 } }
                             },
                             SecurityControlId = "securityControlId"
                         } }
                     },
                     ServiceEnabled = false
                 }
             };

Properties

SecurityHub

The AWS service that the configuration policy applies to.

public object? SecurityHub { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-policy.html#cfn-securityhub-configurationpolicy-policy-securityhub

Type union: either IResolvable or CfnConfigurationPolicyPropsMixin.ISecurityHubPolicyProperty

Implements

CfnConfigurationPolicyPropsMixin.IPolicyProperty
Back to top Generated by DocFX