Class CfnAccessLogSubscription
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
Inherited Members
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAccessLogSubscription : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnAccessLogSubscription
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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 .
CloudformationResource: AWS::VpcLattice::AccessLogSubscription
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.VpcLattice;
var cfnAccessLogSubscription = new CfnAccessLogSubscription(this, "MyCfnAccessLogSubscription", new CfnAccessLogSubscriptionProps {
DestinationArn = "destinationArn",
// the properties below are optional
ResourceIdentifier = "resourceIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnAccessLogSubscription(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAccessLogSubscription(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnAccessLogSubscription(Construct, String, ICfnAccessLogSubscriptionProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the access log subscription. |
AttrId | The ID of the access log subscription. |
AttrResourceArn | The Amazon Resource Name (ARN) of the access log subscription. |
AttrResourceId | The ID of the service network or service. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DestinationArn | The Amazon Resource Name (ARN) of the destination. |
ResourceIdentifier | The ID or Amazon Resource Name (ARN) of the service network or service. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags for the access log subscription. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAccessLogSubscription(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAccessLogSubscription(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAccessLogSubscription(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAccessLogSubscription(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnAccessLogSubscription(Construct, String, ICfnAccessLogSubscriptionProps)
public CfnAccessLogSubscription(Construct scope, string id, ICfnAccessLogSubscriptionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnAccessLogSubscriptionProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the access log subscription.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
The ID of the access log subscription.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrResourceArn
The Amazon Resource Name (ARN) of the access log subscription.
public virtual string AttrResourceArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceArn
AttrResourceId
The ID of the service network or service.
public virtual string AttrResourceId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceId
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
DestinationArn
The Amazon Resource Name (ARN) of the destination.
public virtual string DestinationArn { get; set; }
Property Value
System.String
ResourceIdentifier
The ID or Amazon Resource Name (ARN) of the service network or service.
public virtual string ResourceIdentifier { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags for the access log subscription.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>