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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.vpclattice.getAccessLogSubscription

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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>
    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.
    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
    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
    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
    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
    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
    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"
    tags List<Property Map>
    The tags for the access log subscription.

    Supporting Types

    AccessLogSubscriptionServiceNetworkLogType

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi