AccessLogSubscriptionArgs

data class AccessLogSubscriptionArgs(val destinationArn: Output<String>? = null, val resourceIdentifier: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<AccessLogSubscriptionArgs>

Resource for managing an AWS VPC Lattice Service Network or Service Access log subscription.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.AccessLogSubscription;
import com.pulumi.aws.vpclattice.AccessLogSubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AccessLogSubscription("example", AccessLogSubscriptionArgs.builder()
.resourceIdentifier(aws_vpclattice_service_network.example().id())
.destinationArn(aws_s3.bucket().arn())
.build());
}
}

Import

VPC Lattice Access Log Subscription can be imported using the access log subscription ID, e.g.,

$ pulumi import aws:vpclattice/accessLogSubscription:AccessLogSubscription example rft-8012925589

Constructors

Link copied to clipboard
constructor(destinationArn: Output<String>? = null, resourceIdentifier: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val destinationArn: Output<String>? = null

Amazon Resource Name (ARN) of the log destination.

Link copied to clipboard
val resourceIdentifier: Output<String>? = null

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

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Functions

Link copied to clipboard
open override fun toJava(): AccessLogSubscriptionArgs