We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.AccessLogSubscription
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args AccessLogSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args AccessLogSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessLogSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Destination
Arn 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.
- Resource
Identifier string - The ID or Amazon Resource Name (ARN) of the service network or service.
- Service
Network Pulumi.Log Type Aws Native. Vpc Lattice. Access Log Subscription Service Network Log Type - List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the access log subscription.
- Destination
Arn 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.
- Resource
Identifier string - The ID or Amazon Resource Name (ARN) of the service network or service.
- Service
Network AccessLog Type Log Subscription Service Network Log Type - Tag
Args - The tags for the access log subscription.
- destination
Arn 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.
- resource
Identifier String - The ID or Amazon Resource Name (ARN) of the service network or service.
- service
Network AccessLog Type Log Subscription Service Network Log Type - List<Tag>
- The tags for the access log subscription.
- destination
Arn 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.
- resource
Identifier string - The ID or Amazon Resource Name (ARN) of the service network or service.
- service
Network AccessLog Type Log Subscription Service Network Log Type - Tag[]
- The tags for the access log subscription.
- destination_
arn 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 Amazon Resource Name (ARN) of the service network or service.
- service_
network_ Accesslog_ type Log Subscription Service Network Log Type - Sequence[Tag
Args] - The tags for the access log subscription.
- destination
Arn 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.
- resource
Identifier String - The ID or Amazon Resource Name (ARN) of the service network or service.
- service
Network "SERVICE" | "RESOURCE"Log Type - 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.
- Aws
Id string - The ID of the access log subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arn string - The Amazon Resource Name (ARN) of the access log subscription.
- Resource
Id string - The ID of the service network or service.
- Arn string
- The Amazon Resource Name (ARN) of the access log subscription.
- Aws
Id string - The ID of the access log subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arn string - The Amazon Resource Name (ARN) of the access log subscription.
- Resource
Id string - The ID of the service network or service.
- arn String
- The Amazon Resource Name (ARN) of the access log subscription.
- aws
Id String - The ID of the access log subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arn String - The Amazon Resource Name (ARN) of the access log subscription.
- resource
Id String - The ID of the service network or service.
- arn string
- The Amazon Resource Name (ARN) of the access log subscription.
- aws
Id string - The ID of the access log subscription.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Arn string - The Amazon Resource Name (ARN) of the access log subscription.
- resource
Id 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.
- aws
Id String - The ID of the access log subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arn String - The Amazon Resource Name (ARN) of the access log subscription.
- resource
Id String - The ID of the service network or service.
Supporting Types
AccessLogSubscriptionServiceNetworkLogType, AccessLogSubscriptionServiceNetworkLogTypeArgs
- Service
- SERVICE
- Resource
- RESOURCE
- Access
Log Subscription Service Network Log Type Service - SERVICE
- Access
Log Subscription Service Network Log Type Resource - RESOURCE
- Service
- SERVICE
- Resource
- RESOURCE
- Service
- SERVICE
- Resource
- RESOURCE
- SERVICE
- SERVICE
- RESOURCE
- RESOURCE
- "SERVICE"
- SERVICE
- "RESOURCE"
- RESOURCE
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.