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

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.getAccessLogSubscription

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.

Using getAccessLogSubscription

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAccessLogSubscription(args: GetAccessLogSubscriptionArgs, opts?: InvokeOptions): Promise<GetAccessLogSubscriptionResult>
function getAccessLogSubscriptionOutput(args: GetAccessLogSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetAccessLogSubscriptionResult>
Copy
def get_access_log_subscription(arn: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAccessLogSubscriptionResult
def get_access_log_subscription_output(arn: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAccessLogSubscriptionResult]
Copy
func LookupAccessLogSubscription(ctx *Context, args *LookupAccessLogSubscriptionArgs, opts ...InvokeOption) (*LookupAccessLogSubscriptionResult, error)
func LookupAccessLogSubscriptionOutput(ctx *Context, args *LookupAccessLogSubscriptionOutputArgs, opts ...InvokeOption) LookupAccessLogSubscriptionResultOutput
Copy

> Note: This function is named LookupAccessLogSubscription in the Go SDK.

public static class GetAccessLogSubscription 
{
    public static Task<GetAccessLogSubscriptionResult> InvokeAsync(GetAccessLogSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessLogSubscriptionResult> Invoke(GetAccessLogSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccessLogSubscriptionResult> getAccessLogSubscription(GetAccessLogSubscriptionArgs args, InvokeOptions options)
public static Output<GetAccessLogSubscriptionResult> getAccessLogSubscription(GetAccessLogSubscriptionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:vpclattice:getAccessLogSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the access log subscription.
Arn This property is required. string
The Amazon Resource Name (ARN) of the access log subscription.
arn This property is required. String
The Amazon Resource Name (ARN) of the access log subscription.
arn This property is required. string
The Amazon Resource Name (ARN) of the access log subscription.
arn This property is required. str
The Amazon Resource Name (ARN) of the access log subscription.
arn This property is required. String
The Amazon Resource Name (ARN) of the access log subscription.

getAccessLogSubscription Result

The following output properties are available:

Arn string
The Amazon Resource Name (ARN) of the access log subscription.
DestinationArn 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.
Id string
The ID of the access log subscription.
ResourceArn string
The Amazon Resource Name (ARN) of the access log subscription.
ResourceId string
The ID of the service network or service.
ServiceNetworkLogType Pulumi.AwsNative.VpcLattice.AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
Tags List<Pulumi.AwsNative.Outputs.Tag>
The tags for the access log subscription.
Arn string
The Amazon Resource Name (ARN) of the access log subscription.
DestinationArn 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.
Id string
The ID of the access log subscription.
ResourceArn string
The Amazon Resource Name (ARN) of the access log subscription.
ResourceId string
The ID of the service network or service.
ServiceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
Tags Tag
The tags for the access log subscription.
arn String
The Amazon Resource Name (ARN) of the access log subscription.
destinationArn 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.
id String
The ID of the access log subscription.
resourceArn String
The Amazon Resource Name (ARN) of the access log subscription.
resourceId String
The ID of the service network or service.
serviceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
tags List<Tag>
The tags for the access log subscription.
arn string
The Amazon Resource Name (ARN) of the access log subscription.
destinationArn 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.
id string
The ID of the access log subscription.
resourceArn string
The Amazon Resource Name (ARN) of the access log subscription.
resourceId string
The ID of the service network or service.
serviceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
tags Tag[]
The tags for the access log subscription.
arn str
The Amazon Resource Name (ARN) of 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.
id str
The ID of the access log subscription.
resource_arn str
The Amazon Resource Name (ARN) of the access log subscription.
resource_id str
The ID of the service network or service.
service_network_log_type AccessLogSubscriptionServiceNetworkLogType
Log type of the service network.
tags Sequence[root_Tag]
The tags for the access log subscription.
arn String
The Amazon Resource Name (ARN) of the access log subscription.
destinationArn 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.
id String
The ID of the access log subscription.
resourceArn String
The Amazon Resource Name (ARN) of the access log subscription.
resourceId String
The ID 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.

Supporting Types

AccessLogSubscriptionServiceNetworkLogType

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. 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