Class CfnAccessLogSubscription
A CloudFormation AWS::VpcLattice::AccessLogSubscription
.
Inherited Members
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.AWS.VpcLattice.dll
Syntax (csharp)
public class CfnAccessLogSubscription : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnAccessLogSubscription
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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 will 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(Construct, String, ICfnAccessLogSubscriptionProps) | Create a new |
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 |
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 | The tags for the access log subscription. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAccessLogSubscription(Construct, String, ICfnAccessLogSubscriptionProps)
Create a new AWS::VpcLattice::AccessLogSubscription
.
public CfnAccessLogSubscription(Construct scope, string id, ICfnAccessLogSubscriptionProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnAccessLogSubscriptionProps
- resource properties.
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
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
Remarks
The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
ResourceIdentifier
The ID or Amazon Resource Name (ARN) of the service network or service.
public virtual string ResourceIdentifier { get; set; }
Property Value
System.String
Remarks
Tags
The tags for the access log subscription.
public virtual TagManager Tags { get; }
Property Value
Remarks
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>