Access Log Subscription
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
Amazon Resource Name (ARN) of the log destination.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.