@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.710Z") @Stability(value=Stable) public interface LogSubscriptionDestinationConfig extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.logs.*;
Role role;
LogSubscriptionDestinationConfig logSubscriptionDestinationConfig = LogSubscriptionDestinationConfig.builder()
.arn("arn")
// the properties below are optional
.role(role)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LogSubscriptionDestinationConfig.Builder
A builder for
LogSubscriptionDestinationConfig |
static class |
LogSubscriptionDestinationConfig.Jsii$Proxy
An implementation for
LogSubscriptionDestinationConfig |
| Modifier and Type | Method and Description |
|---|---|
static LogSubscriptionDestinationConfig.Builder |
builder() |
String |
getArn()
The ARN of the subscription's destination.
|
default IRole |
getRole()
The role to assume to write log events to the destination.
|
@Stability(value=Stable) @NotNull String getArn()
@Stability(value=Stable) @Nullable default IRole getRole()
Default: No role assumed
@Stability(value=Stable) static LogSubscriptionDestinationConfig.Builder builder()
Copyright © 2022. All rights reserved.