Class CfnQueryLoggingConfig
Resource Type definition for AWS::Route53::QueryLoggingConfig.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnQueryLoggingConfig : CfnResource, IInspectable, IQueryLoggingConfigRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnQueryLoggingConfig Inherits CfnResource Implements IInspectable, IQueryLoggingConfigRef, IConstruct, IDependable, IEnvironmentAware
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
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.Route53;
var cfnQueryLoggingConfig = new CfnQueryLoggingConfig(this, "MyCfnQueryLoggingConfig", new CfnQueryLoggingConfigProps {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn",
HostedZoneId = "hostedZoneId"
});
Synopsis
Constructors
| CfnQueryLoggingConfig(Construct, string, ICfnQueryLoggingConfigProps) | Create a new |
Properties
| AttrArn | The Amazon Resource Name (ARN) of the query logging configuration. |
| AttrId | The ID that Amazon Route 53 assigns to the configuration for DNS query logging. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Resource Type definition for AWS::Route53::QueryLoggingConfig. |
| CfnPropertyNames | Resource Type definition for AWS::Route53::QueryLoggingConfig. |
| CloudWatchLogsLogGroupArn | The Amazon Resource Name (ARN) of the CloudWatch Logs log group in us-east-1 that Amazon Route 53 publishes query logs to. |
| HostedZoneId | The ID of the public hosted zone that Amazon Route 53 logs queries for. |
| QueryLoggingConfigRef | A reference to a QueryLoggingConfig resource. |
Methods
| ArnForQueryLoggingConfig(IQueryLoggingConfigRef) | Resource Type definition for AWS::Route53::QueryLoggingConfig. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnQueryLoggingConfig(object) | Checks whether the given object is a CfnQueryLoggingConfig. |
| RenderProperties(IDictionary<string, object>) | Resource Type definition for AWS::Route53::QueryLoggingConfig. |
Constructors
CfnQueryLoggingConfig(Construct, string, ICfnQueryLoggingConfigProps)
Create a new AWS::Route53::QueryLoggingConfig.
public CfnQueryLoggingConfig(Construct scope, string id, ICfnQueryLoggingConfigProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnQueryLoggingConfigProps
Resource properties.
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Name (ARN) of the query logging configuration.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrId
The ID that Amazon Route 53 assigns to the configuration for DNS query logging.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
CfnProperties
Resource Type definition for AWS::Route53::QueryLoggingConfig.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
CfnPropertyNames
Resource Type definition for AWS::Route53::QueryLoggingConfig.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
CloudWatchLogsLogGroupArn
The Amazon Resource Name (ARN) of the CloudWatch Logs log group in us-east-1 that Amazon Route 53 publishes query logs to.
public virtual string CloudWatchLogsLogGroupArn { get; set; }
Property Value
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
HostedZoneId
The ID of the public hosted zone that Amazon Route 53 logs queries for.
public virtual string HostedZoneId { get; set; }
Property Value
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
QueryLoggingConfigRef
A reference to a QueryLoggingConfig resource.
public virtual IQueryLoggingConfigReference QueryLoggingConfigRef { get; }
Property Value
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
Methods
ArnForQueryLoggingConfig(IQueryLoggingConfigRef)
Resource Type definition for AWS::Route53::QueryLoggingConfig.
public static string ArnForQueryLoggingConfig(IQueryLoggingConfigRef resource)
Parameters
- resource IQueryLoggingConfigRef
Returns
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
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.Route53;
var cfnQueryLoggingConfig = new CfnQueryLoggingConfig(this, "MyCfnQueryLoggingConfig", new CfnQueryLoggingConfigProps {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn",
HostedZoneId = "hostedZoneId"
});
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.
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
IsCfnQueryLoggingConfig(object)
Checks whether the given object is a CfnQueryLoggingConfig.
public static bool IsCfnQueryLoggingConfig(object x)
Parameters
- x object
Returns
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Resource Type definition for AWS::Route53::QueryLoggingConfig.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53::QueryLoggingConfig
ExampleMetadata: fixture=_generated