@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.716Z") @Stability(value=Stable) public class CfnResolverQueryLoggingConfigAssociation extends CfnResource implements IInspectable
The AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation resource is a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53resolver.*;
CfnResolverQueryLoggingConfigAssociation cfnResolverQueryLoggingConfigAssociation = CfnResolverQueryLoggingConfigAssociation.Builder.create(this, "MyCfnResolverQueryLoggingConfigAssociation")
.resolverQueryLogConfigId("resolverQueryLogConfigId")
.resourceId("resourceId")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnResolverQueryLoggingConfigAssociation.Builder
A fluent builder for
CfnResolverQueryLoggingConfigAssociation. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnResolverQueryLoggingConfigAssociation(software.constructs.Construct scope,
String id)
Create a new `AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation`.
|
|
CfnResolverQueryLoggingConfigAssociation(software.constructs.Construct scope,
String id,
CfnResolverQueryLoggingConfigAssociationProps props)
Create a new `AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation`.
|
protected |
CfnResolverQueryLoggingConfigAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResolverQueryLoggingConfigAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrCreationTime()
The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).
|
String |
getAttrError()
If the value of `Status` is `FAILED` , the value of `Error` indicates the cause:.
|
String |
getAttrErrorMessage()
Contains additional information about the error.
|
String |
getAttrId()
The ID of the query logging association.
|
String |
getAttrStatus()
The status of the specified query logging association.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getResolverQueryLogConfigId()
The ID of the query logging configuration that a VPC is associated with.
|
String |
getResourceId()
The ID of the Amazon VPC that is associated with the query logging configuration.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setResolverQueryLogConfigId(String value)
The ID of the query logging configuration that a VPC is associated with.
|
void |
setResourceId(String value)
The ID of the Amazon VPC that is associated with the query logging configuration.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnResolverQueryLoggingConfigAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResolverQueryLoggingConfigAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResolverQueryLoggingConfigAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnResolverQueryLoggingConfigAssociationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnResolverQueryLoggingConfigAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrError()
DESTINATION_NOT_FOUND : The specified destination (for example, an Amazon S3 bucket) was deleted.ACCESS_DENIED : Permissions don't allow sending logs to the destination.
If the value of Status is a value other than FAILED , Error is null.
@Stability(value=Stable) @NotNull public String getAttrErrorMessage()
If the value or Error is null, the value of ErrorMessage is also null.
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public String getAttrStatus()
CREATING : Resolver is creating an association between an Amazon Virtual Private Cloud (Amazon VPC) and a query logging configuration.CREATED : The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.DELETING : Resolver is deleting this query logging association.FAILED : Resolver either couldn't create or couldn't delete the query logging association.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getResolverQueryLogConfigId()
@Stability(value=Stable)
public void setResolverQueryLogConfigId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getResourceId()
@Stability(value=Stable)
public void setResourceId(@Nullable
String value)
Copyright © 2022. All rights reserved.