Class CfnResolverQueryLoggingConfigAssociation
The AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation resource is a configuration for DNS query logging.
Inheritance
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResolverQueryLoggingConfigAssociation : CfnResource, IInspectable
Syntax (vb)
Public Class CfnResolverQueryLoggingConfigAssociation
Inherits CfnResource
Implements IInspectable
Remarks
After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group.
CloudformationResource: AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation
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.Route53Resolver;
var cfnResolverQueryLoggingConfigAssociation = new CfnResolverQueryLoggingConfigAssociation(this, "MyCfnResolverQueryLoggingConfigAssociation", new CfnResolverQueryLoggingConfigAssociationProps {
ResolverQueryLogConfigId = "resolverQueryLogConfigId",
ResourceId = "resourceId"
});
Synopsis
Constructors
CfnResolverQueryLoggingConfigAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnResolverQueryLoggingConfigAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnResolverQueryLoggingConfigAssociation(Construct, String, ICfnResolverQueryLoggingConfigAssociationProps) |
Properties
AttrCreationTime | The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC). |
AttrError | If the value of |
AttrErrorMessage | Contains additional information about the error. |
AttrId | The ID of the query logging association. |
AttrStatus | The status of the specified query logging association. Valid values include the following:. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ResolverQueryLogConfigId | The ID of the query logging configuration that a VPC is associated with. |
ResourceId | The ID of the Amazon VPC that is associated with the query logging configuration. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnResolverQueryLoggingConfigAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnResolverQueryLoggingConfigAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnResolverQueryLoggingConfigAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnResolverQueryLoggingConfigAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnResolverQueryLoggingConfigAssociation(Construct, String, ICfnResolverQueryLoggingConfigAssociationProps)
public CfnResolverQueryLoggingConfigAssociation(Construct scope, string id, ICfnResolverQueryLoggingConfigAssociationProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnResolverQueryLoggingConfigAssociationProps
Resource properties.
Properties
AttrCreationTime
The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).
public virtual string AttrCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationTime
AttrError
If the value of Status
is FAILED
, the value of Error
indicates the cause:.
public virtual string AttrError { get; }
Property Value
System.String
Remarks
If the value of Status
is a value other than FAILED
, Error
is null.
CloudformationAttribute: Error
AttrErrorMessage
Contains additional information about the error.
public virtual string AttrErrorMessage { get; }
Property Value
System.String
Remarks
If the value or Error
is null, the value of ErrorMessage
is also null.
CloudformationAttribute: ErrorMessage
AttrId
The ID of the query logging association.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrStatus
The status of the specified query logging association. Valid values include the following:.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
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
ResolverQueryLogConfigId
The ID of the query logging configuration that a VPC is associated with.
public virtual string ResolverQueryLogConfigId { get; set; }
Property Value
System.String
ResourceId
The ID of the Amazon VPC that is associated with the query logging configuration.
public virtual string ResourceId { get; set; }
Property Value
System.String
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>