We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.getAccessLogSubscription
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.
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>
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]
func LookupAccessLogSubscription(ctx *Context, args *LookupAccessLogSubscriptionArgs, opts ...InvokeOption) (*LookupAccessLogSubscriptionResult, error)
func LookupAccessLogSubscriptionOutput(ctx *Context, args *LookupAccessLogSubscriptionOutputArgs, opts ...InvokeOption) LookupAccessLogSubscriptionResultOutput
> 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)
}
public static CompletableFuture<GetAccessLogSubscriptionResult> getAccessLogSubscription(GetAccessLogSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:vpclattice:getAccessLogSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the access log subscription.
- Arn string
- The Amazon Resource Name (ARN) of the access log subscription.
- arn String
- The Amazon Resource Name (ARN) of the access log subscription.
- arn string
- The Amazon Resource Name (ARN) of the access log subscription.
- arn str
- The Amazon Resource Name (ARN) of the access log subscription.
- arn 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.
- 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.
- Id string
- The ID of the access log subscription.
- Resource
Arn string - The Amazon Resource Name (ARN) of the access log subscription.
- Resource
Id string - The ID 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. Outputs. Tag> - The tags for the access log subscription.
- Arn string
- The Amazon Resource Name (ARN) of 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.
- Id string
- The ID of the access log subscription.
- Resource
Arn string - The Amazon Resource Name (ARN) of the access log subscription.
- Resource
Id string - The ID of the service network or service.
- Service
Network AccessLog Type Log Subscription Service Network Log Type - Tag
- The tags for the access log subscription.
- arn String
- The Amazon Resource Name (ARN) of 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.
- id String
- The ID of the access log subscription.
- resource
Arn String - The Amazon Resource Name (ARN) of the access log subscription.
- resource
Id String - The ID 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.
- arn string
- The Amazon Resource Name (ARN) of 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.
- id string
- The ID of the access log subscription.
- resource
Arn string - The Amazon Resource Name (ARN) of the access log subscription.
- resource
Id string - The ID of the service network or service.
- service
Network AccessLog Type Log Subscription Service Network Log Type - 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_ Accesslog_ type Log Subscription Service Network Log Type - Sequence[root_Tag]
- The tags for the access log subscription.
- arn String
- The Amazon Resource Name (ARN) of 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.
- id String
- The ID of the access log subscription.
- resource
Arn String - The Amazon Resource Name (ARN) of the access log subscription.
- resource
Id String - The ID of the service network or service.
- service
Network "SERVICE" | "RESOURCE"Log Type - List<Property Map>
- The tags for the access log subscription.
Supporting Types
AccessLogSubscriptionServiceNetworkLogType
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.