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

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

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.

    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:

    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.
    ResourceIdentifier string
    The ID or Amazon Resource Name (ARN) of the service network or service.
    ServiceNetworkLogType Pulumi.AwsNative.VpcLattice.AccessLogSubscriptionServiceNetworkLogType
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for 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.
    ResourceIdentifier string
    The ID or Amazon Resource Name (ARN) of the service network or service.
    ServiceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
    Tags TagArgs
    The tags for 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.
    resourceIdentifier String
    The ID or Amazon Resource Name (ARN) of the service network or service.
    serviceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
    tags List<Tag>
    The tags for 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.
    resourceIdentifier string
    The ID or Amazon Resource Name (ARN) of the service network or service.
    serviceNetworkLogType AccessLogSubscriptionServiceNetworkLogType
    tags 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_log_type AccessLogSubscriptionServiceNetworkLogType
    tags Sequence[TagArgs]
    The tags for 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.
    resourceIdentifier String
    The ID or Amazon Resource Name (ARN) of the service network or service.
    serviceNetworkLogType "SERVICE" | "RESOURCE"
    tags 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.
    AwsId string
    The ID of the access log subscription.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceArn string
    The Amazon Resource Name (ARN) of the access log subscription.
    ResourceId string
    The ID of the service network or service.
    Arn string
    The Amazon Resource Name (ARN) of the access log subscription.
    AwsId string
    The ID of the access log subscription.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceArn string
    The Amazon Resource Name (ARN) of the access log subscription.
    ResourceId string
    The ID of the service network or service.
    arn String
    The Amazon Resource Name (ARN) of the access log subscription.
    awsId String
    The ID of the access log subscription.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceArn String
    The Amazon Resource Name (ARN) of the access log subscription.
    resourceId String
    The ID of the service network or service.
    arn string
    The Amazon Resource Name (ARN) of the access log subscription.
    awsId string
    The ID of the access log subscription.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceArn string
    The Amazon Resource Name (ARN) of the access log subscription.
    resourceId 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.
    awsId String
    The ID of the access log subscription.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceArn String
    The Amazon Resource Name (ARN) of the access log subscription.
    resourceId String
    The ID of the service network or service.

    Supporting Types

    AccessLogSubscriptionServiceNetworkLogType, AccessLogSubscriptionServiceNetworkLogTypeArgs

    Service
    SERVICE
    Resource
    RESOURCE
    AccessLogSubscriptionServiceNetworkLogTypeService
    SERVICE
    AccessLogSubscriptionServiceNetworkLogTypeResource
    RESOURCE
    Service
    SERVICE
    Resource
    RESOURCE
    Service
    SERVICE
    Resource
    RESOURCE
    SERVICE
    SERVICE
    RESOURCE
    RESOURCE
    "SERVICE"
    SERVICE
    "RESOURCE"
    RESOURCE

    Tag, TagArgs

    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