1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. vpclattice
  5. AccessLogSubscription

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.vpclattice.AccessLogSubscription

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

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.

Create AccessLogSubscription Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AccessLogSubscription(name: string, args: AccessLogSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def AccessLogSubscription(resource_name: str,
                          args: AccessLogSubscriptionArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def AccessLogSubscription(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          destination_arn: Optional[str] = None,
                          resource_identifier: Optional[str] = None,
                          service_network_log_type: Optional[AccessLogSubscriptionServiceNetworkLogType] = None,
                          tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewAccessLogSubscription(ctx *Context, name string, args AccessLogSubscriptionArgs, opts ...ResourceOption) (*AccessLogSubscription, error)
public AccessLogSubscription(string name, AccessLogSubscriptionArgs args, CustomResourceOptions? opts = null)
public AccessLogSubscription(String name, AccessLogSubscriptionArgs args)
public AccessLogSubscription(String name, AccessLogSubscriptionArgs args, CustomResourceOptions options)
type: aws-native:vpclattice:AccessLogSubscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AccessLogSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AccessLogSubscriptionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AccessLogSubscriptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AccessLogSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AccessLogSubscriptionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AccessLogSubscription Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AccessLogSubscription resource accepts the following input properties:

DestinationArn This property is required. string
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
ResourceIdentifier string
The ID or ARN of the service network or service.
ServiceNetworkLogType Pulumi.AwsNative.VpcLattice.AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
Tags List<Pulumi.AwsNative.Inputs.Tag>
The tags for the access log subscription.
DestinationArn This property is required. string
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
ResourceIdentifier string
The ID or ARN of the service network or service.
ServiceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
Tags TagArgs
The tags for the access log subscription.
destinationArn This property is required. String
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
resourceIdentifier String
The ID or ARN of the service network or service.
serviceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
tags List<Tag>
The tags for the access log subscription.
destinationArn This property is required. string
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
resourceIdentifier string
The ID or ARN of the service network or service.
serviceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
tags Tag[]
The tags for the access log subscription.
destination_arn This property is required. str
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
resource_identifier str
The ID or ARN of the service network or service.
service_network_log_type AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
tags Sequence[TagArgs]
The tags for the access log subscription.
destinationArn This property is required. String
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
resourceIdentifier String
The ID or ARN of the service network or service.
serviceNetworkLogType "SERVICE" | "RESOURCE"
Log type of the service network.
tags List<Property Map>
The tags for the access log subscription.

Outputs

All input properties are implicitly available as output properties. Additionally, the AccessLogSubscription resource produces the following output properties:

Arn string
The Amazon Resource Name (ARN) of the access log subscription.
AwsId string
The ID of the access log subscription.
Id string
The provider-assigned unique ID for this managed resource.
ResourceArn string
The Amazon Resource Name (ARN) of the access log subscription.
ResourceId string
The ID of the service network or service.
Arn string
The Amazon Resource Name (ARN) of the access log subscription.
AwsId string
The ID of the access log subscription.
Id string
The provider-assigned unique ID for this managed resource.
ResourceArn string
The Amazon Resource Name (ARN) of the access log subscription.
ResourceId string
The ID of the service network or service.
arn String
The Amazon Resource Name (ARN) of the access log subscription.
awsId String
The ID of the access log subscription.
id String
The provider-assigned unique ID for this managed resource.
resourceArn String
The Amazon Resource Name (ARN) of the access log subscription.
resourceId String
The ID of the service network or service.
arn string
The Amazon Resource Name (ARN) of the access log subscription.
awsId string
The ID of the access log subscription.
id string
The provider-assigned unique ID for this managed resource.
resourceArn string
The Amazon Resource Name (ARN) of the access log subscription.
resourceId string
The ID of the service network or service.
arn str
The Amazon Resource Name (ARN) of the access log subscription.
aws_id str
The ID of the access log subscription.
id str
The provider-assigned unique ID for this managed resource.
resource_arn str
The Amazon Resource Name (ARN) of the access log subscription.
resource_id str
The ID of the service network or service.
arn String
The Amazon Resource Name (ARN) of the access log subscription.
awsId String
The ID of the access log subscription.
id String
The provider-assigned unique ID for this managed resource.
resourceArn String
The Amazon Resource Name (ARN) of the access log subscription.
resourceId String
The ID of the service network or service.

Supporting Types

AccessLogSubscriptionServiceNetworkLogType
, AccessLogSubscriptionServiceNetworkLogTypeArgs

Service
SERVICE
Resource
RESOURCE
AccessLogSubscriptionServiceNetworkLogTypeService
SERVICE
AccessLogSubscriptionServiceNetworkLogTypeResource
RESOURCE
Service
SERVICE
Resource
RESOURCE
Service
SERVICE
Resource
RESOURCE
SERVICE
SERVICE
RESOURCE
RESOURCE
"SERVICE"
SERVICE
"RESOURCE"
RESOURCE

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi