Class CfnAccessLogSubscription
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.vpclattice.CfnAccessLogSubscription
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:40.389Z")
@Stability(Stable)
public class CfnAccessLogSubscription
extends CfnResource
implements IInspectable, ITaggable
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide .
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.vpclattice.*; CfnAccessLogSubscription cfnAccessLogSubscription = CfnAccessLogSubscription.Builder.create(this, "MyCfnAccessLogSubscription") .destinationArn("destinationArn") // the properties below are optional .resourceIdentifier("resourceIdentifier") .serviceNetworkLogType("serviceNetworkLogType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnAccessLogSubscription
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnAccessLogSubscription
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAccessLogSubscription
(software.amazon.jsii.JsiiObjectRef objRef) CfnAccessLogSubscription
(software.constructs.Construct scope, String id, CfnAccessLogSubscriptionProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the access log subscription.The ID of the access log subscription.The Amazon Resource Name (ARN) of the access log subscription.The ID of the service network or service.The Amazon Resource Name (ARN) of the destination.The ID or ARN of the service network or service.Log type of the service network.getTags()
Tag Manager which manages the tags for this resource.The tags for the access log subscription.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDestinationArn
(String value) The Amazon Resource Name (ARN) of the destination.void
setResourceIdentifier
(String value) The ID or ARN of the service network or service.void
setServiceNetworkLogType
(String value) Log type of the service network.void
setTagsRaw
(List<CfnTag> value) The tags for the access log subscription.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAccessLogSubscription
protected CfnAccessLogSubscription(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAccessLogSubscription
protected CfnAccessLogSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAccessLogSubscription
@Stability(Stable) public CfnAccessLogSubscription(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAccessLogSubscriptionProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the access log subscription. -
getAttrId
The ID of the access log subscription. -
getAttrResourceArn
The Amazon Resource Name (ARN) of the access log subscription. -
getAttrResourceId
The ID of the service network or service. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDestinationArn
The Amazon Resource Name (ARN) of the destination. -
setDestinationArn
The Amazon Resource Name (ARN) of the destination. -
getResourceIdentifier
The ID or ARN of the service network or service. -
setResourceIdentifier
The ID or ARN of the service network or service. -
getServiceNetworkLogType
Log type of the service network. -
setServiceNetworkLogType
Log type of the service network. -
getTagsRaw
The tags for the access log subscription. -
setTagsRaw
The tags for the access log subscription.
-