Show / Hide Table of Contents

Class CfnLoggingConfiguration

A CloudFormation AWS::NetworkFirewall::LoggingConfiguration.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnLoggingConfiguration
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public class CfnLoggingConfiguration : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnLoggingConfiguration
    Inherits CfnResource
    Implements IConstruct, IDependable, IInspectable
Remarks

Use the LoggingConfiguration to define the destinations and logging options for an Firewall .

You must change the logging configuration by changing one LogDestinationConfig setting at a time in your LogDestinationConfigs .

You can make only one of the following changes to your LoggingConfiguration resource:

    You can't change the LogDestinationType or LogType in a LogDestinationConfig . To change these settings, delete the existing LogDestinationConfig object and create a new one, in two separate modifications.

    CloudformationResource: AWS::NetworkFirewall::LoggingConfiguration

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.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.AWS.NetworkFirewall;
    
    var cfnLoggingConfiguration = new CfnLoggingConfiguration(this, "MyCfnLoggingConfiguration", new CfnLoggingConfigurationProps {
        FirewallArn = "firewallArn",
        LoggingConfiguration = new LoggingConfigurationProperty {
            LogDestinationConfigs = new [] { new LogDestinationConfigProperty {
                LogDestination = new Dictionary<string, string> {
                    { "logDestinationKey", "logDestination" }
                },
                LogDestinationType = "logDestinationType",
                LogType = "logType"
            } }
        },
    
        // the properties below are optional
        FirewallName = "firewallName"
    });

    Synopsis

    Constructors

    CfnLoggingConfiguration(Construct, String, ICfnLoggingConfigurationProps)

    Create a new AWS::NetworkFirewall::LoggingConfiguration.

    CfnLoggingConfiguration(ByRefValue)

    Used by jsii to construct an instance of this class from a Javascript-owned object reference

    CfnLoggingConfiguration(DeputyBase.DeputyProps)

    Used by jsii to construct an instance of this class from DeputyProps

    Properties

    CFN_RESOURCE_TYPE_NAME

    The CloudFormation resource type name for this resource class.

    CfnProperties
    FirewallArn

    The Amazon Resource Name (ARN) of the Firewall that the logging configuration is associated with.

    FirewallName

    The name of the firewall that the logging configuration is associated with.

    LoggingConfiguration

    Defines how AWS Network Firewall performs logging for a Firewall .

    Methods

    Inspect(TreeInspector)

    Examines the CloudFormation resource and discloses attributes.

    RenderProperties(IDictionary<String, Object>)

    Constructors

    CfnLoggingConfiguration(Construct, String, ICfnLoggingConfigurationProps)

    Create a new AWS::NetworkFirewall::LoggingConfiguration.

    public CfnLoggingConfiguration(Construct scope, string id, ICfnLoggingConfigurationProps props)
    Parameters
    scope Construct
    • scope in which this resource is defined.
    id System.String
    • scoped id of the resource.
    props ICfnLoggingConfigurationProps
    • resource properties.

    CfnLoggingConfiguration(ByRefValue)

    Used by jsii to construct an instance of this class from a Javascript-owned object reference

    protected CfnLoggingConfiguration(ByRefValue reference)
    Parameters
    reference Amazon.JSII.Runtime.Deputy.ByRefValue

    The Javascript-owned object reference

    CfnLoggingConfiguration(DeputyBase.DeputyProps)

    Used by jsii to construct an instance of this class from DeputyProps

    protected CfnLoggingConfiguration(DeputyBase.DeputyProps props)
    Parameters
    props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

    The deputy props

    Properties

    CFN_RESOURCE_TYPE_NAME

    The CloudFormation resource type name for this resource class.

    public static string CFN_RESOURCE_TYPE_NAME { get; }
    Property Value

    System.String

    CfnProperties

    protected override IDictionary<string, object> CfnProperties { get; }
    Property Value

    System.Collections.Generic.IDictionary<System.String, System.Object>

    Overrides
    CfnResource.CfnProperties

    FirewallArn

    The Amazon Resource Name (ARN) of the Firewall that the logging configuration is associated with.

    public virtual string FirewallArn { get; set; }
    Property Value

    System.String

    Remarks

    You can't change the firewall specification after you create the logging configuration.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-firewallarn

    FirewallName

    The name of the firewall that the logging configuration is associated with.

    public virtual string FirewallName { get; set; }
    Property Value

    System.String

    Remarks

    You can't change the firewall specification after you create the logging configuration.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-firewallname

    LoggingConfiguration

    Defines how AWS Network Firewall performs logging for a Firewall .

    public virtual object LoggingConfiguration { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-loggingconfiguration

    Methods

    Inspect(TreeInspector)

    Examines the CloudFormation resource and discloses attributes.

    public virtual void Inspect(TreeInspector inspector)
    Parameters
    inspector TreeInspector
    • tree inspector to collect and process attributes.

    RenderProperties(IDictionary<String, Object>)

    protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
    Parameters
    props System.Collections.Generic.IDictionary<System.String, System.Object>
    Returns

    System.Collections.Generic.IDictionary<System.String, System.Object>

    Overrides
    CfnResource.RenderProperties(IDictionary<String, Object>)

    Implements

    IConstruct
    Constructs.IConstruct
    IDependable
    IInspectable
    Back to top Generated by DocFX