AWS Native is in preview. AWS Classic is fully supported.
aws-native.vpclattice.AccessLogSubscription
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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,
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
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.