AccessLogSubscription

class AccessLogSubscription : KotlinCustomResource

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

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the access log subscription.

Link copied to clipboard
val destinationArn: Output<String>

Amazon Resource Name (ARN) of the log destination.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceArn: Output<String>

Amazon Resource Name (ARN) of the service network or service.

Link copied to clipboard

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>>?
Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val urn: Output<String>