@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.715Z") @Stability(value=Stable) public class CfnResolverQueryLoggingConfig extends CfnResource implements IInspectable
The AWS::Route53Resolver::ResolverQueryLoggingConfig resource is a complex type that contains settings for one query logging configuration.
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.*;
CfnResolverQueryLoggingConfig cfnResolverQueryLoggingConfig = CfnResolverQueryLoggingConfig.Builder.create(this, "MyCfnResolverQueryLoggingConfig")
.destinationArn("destinationArn")
.name("name")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnResolverQueryLoggingConfig.Builder
A fluent builder for
CfnResolverQueryLoggingConfig. |
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 |
|---|---|
|
CfnResolverQueryLoggingConfig(software.constructs.Construct scope,
String id)
Create a new `AWS::Route53Resolver::ResolverQueryLoggingConfig`.
|
|
CfnResolverQueryLoggingConfig(software.constructs.Construct scope,
String id,
CfnResolverQueryLoggingConfigProps props)
Create a new `AWS::Route53Resolver::ResolverQueryLoggingConfig`.
|
protected |
CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) for the query logging configuration.
|
Number |
getAttrAssociationCount()
The number of VPCs that are associated with the query logging configuration.
|
String |
getAttrCreationTime()
The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).
|
String |
getAttrCreatorRequestId()
A unique string that identifies the request that created the query logging configuration.
|
String |
getAttrId()
The ID for the query logging configuration.
|
String |
getAttrOwnerId()
The AWS account ID for the account that created the query logging configuration.
|
String |
getAttrShareStatus()
An indication of whether the query logging configuration is shared with other AWS account s, or was shared with the current account by another AWS account .
|
String |
getAttrStatus()
The status of the specified query logging configuration.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDestinationArn()
The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.
|
String |
getName()
The name of 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 |
setDestinationArn(String value)
The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.
|
void |
setName(String value)
The name of 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 CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResolverQueryLoggingConfig(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnResolverQueryLoggingConfigProps 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 CfnResolverQueryLoggingConfig(@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 getAttrArn()
@Stability(value=Stable) @NotNull public Number getAttrAssociationCount()
@Stability(value=Stable) @NotNull public String getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrCreatorRequestId()
The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public String getAttrOwnerId()
@Stability(value=Stable) @NotNull public String getAttrShareStatus()
Sharing is configured through AWS Resource Access Manager ( AWS RAM ).
@Stability(value=Stable) @NotNull public String getAttrStatus()
CREATING : Resolver is creating the query logging configuration.CREATED : The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.DELETING : Resolver is deleting this query logging configuration.FAILED : Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDestinationArn()
@Stability(value=Stable)
public void setDestinationArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.