import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing an AWS VPC Lattice Service Network or Service Access log subscription. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.vpclattice.AccessLogSubscription("example", { * resourceIdentifier: exampleAwsVpclatticeServiceNetwork.id, * destinationArn: bucket.arn, * }); * ``` * * ## Import * * Using `pulumi import`, import VPC Lattice Access Log Subscription using the access log subscription ID. For example: * * ```sh * $ pulumi import aws:vpclattice/accessLogSubscription:AccessLogSubscription example rft-8012925589 * ``` */ export declare class AccessLogSubscription extends pulumi.CustomResource { /** * Get an existing AccessLogSubscription resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AccessLogSubscriptionState, opts?: pulumi.CustomResourceOptions): AccessLogSubscription; /** * Returns true if the given object is an instance of AccessLogSubscription. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AccessLogSubscription; /** * ARN of the access log subscription. */ readonly arn: pulumi.Output; /** * ARN of the log destination. */ readonly destinationArn: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * ARN of the service network or service. */ readonly resourceArn: pulumi.Output; /** * ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts. * * The following arguments are optional: */ readonly resourceIdentifier: pulumi.Output; /** * Type of log that monitors your Amazon VPC Lattice service networks. Valid values are: `SERVICE`, `RESOURCE`. Defaults to `SERVICE`. */ readonly serviceNetworkLogType: pulumi.Output; /** * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a AccessLogSubscription resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccessLogSubscriptionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccessLogSubscription resources. */ export interface AccessLogSubscriptionState { /** * ARN of the access log subscription. */ arn?: pulumi.Input; /** * ARN of the log destination. */ destinationArn?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ARN of the service network or service. */ resourceArn?: pulumi.Input; /** * ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts. * * The following arguments are optional: */ resourceIdentifier?: pulumi.Input; /** * Type of log that monitors your Amazon VPC Lattice service networks. Valid values are: `SERVICE`, `RESOURCE`. Defaults to `SERVICE`. */ serviceNetworkLogType?: pulumi.Input; /** * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a AccessLogSubscription resource. */ export interface AccessLogSubscriptionArgs { /** * ARN of the log destination. */ destinationArn: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts. * * The following arguments are optional: */ resourceIdentifier: pulumi.Input; /** * Type of log that monitors your Amazon VPC Lattice service networks. Valid values are: `SERVICE`, `RESOURCE`. Defaults to `SERVICE`. */ serviceNetworkLogType?: pulumi.Input; /** * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=accessLogSubscription.d.ts.map