import * as core from "@terrascript/core"; export interface LogDestinationConfigArgs extends core.SchemaArgs { logDestination: core.Map | core.MapOut; logDestinationType: string | core.StringOut; logType: string | core.StringOut; } export class LogDestinationConfig extends core.Schema { @core.attr(String, { kind: "map" }) public logDestination!: | core.Map | core.MapOut; @core.attr(String) public logDestinationType!: string | core.StringOut; @core.attr(String) public logType!: string | core.StringOut; } export interface LoggingConfigurationBlkArgs extends core.SchemaArgs { logDestinationConfig: | core.Array | core.ArrayOut; } export class LoggingConfigurationBlk extends core.Schema { @core.attr(LogDestinationConfig, { kind: "array" }) public logDestinationConfig!: | core.Array | core.ArrayOut; } export interface LoggingConfigurationArgs extends core.ResourceArgs { /** * (Required, Forces new resource) The Amazon Resource Name (ARN) of the Network Firewall firewall. */ firewallArn: string | core.StringOut; /** * (Required) A configuration block describing how AWS Network Firewall performs logging for a firewall * . See [Logging Configuration](#logging-configuration) below for details. */ loggingConfiguration: LoggingConfigurationBlk; } export class LoggingConfiguration extends core.Resource { /** * (Required, Forces new resource) The Amazon Resource Name (ARN) of the Network Firewall firewall. */ @core.attr(String) public firewallArn!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the associated firewall. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) A configuration block describing how AWS Network Firewall performs logging for a firewall * . See [Logging Configuration](#logging-configuration) below for details. */ @core.attr(LoggingConfigurationBlk) public loggingConfiguration!: LoggingConfigurationBlk; constructor(name: string, args?: LoggingConfigurationArgs) { super(name, "aws_networkfirewall_logging_configuration", args); } public override getNamespace(): string { return "aws_networkfirewall"; } }