@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.704Z") @Stability(value=Stable) public interface CrossAccountDestinationProps 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;
CrossAccountDestinationProps crossAccountDestinationProps = CrossAccountDestinationProps.builder()
.role(role)
.targetArn("targetArn")
// the properties below are optional
.destinationName("destinationName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CrossAccountDestinationProps.Builder
A builder for
CrossAccountDestinationProps |
static class |
CrossAccountDestinationProps.Jsii$Proxy
An implementation for
CrossAccountDestinationProps |
| Modifier and Type | Method and Description |
|---|---|
static CrossAccountDestinationProps.Builder |
builder() |
default String |
getDestinationName()
The name of the log destination.
|
IRole |
getRole()
The role to assume that grants permissions to write to 'target'.
|
String |
getTargetArn()
The log destination target's ARN.
|
@Stability(value=Stable) @NotNull IRole getRole()
The role must be assumable by 'logs.{REGION}.amazonaws.com'.
@Stability(value=Stable) @NotNull String getTargetArn()
@Stability(value=Stable) @Nullable default String getDestinationName()
Default: Automatically generated
@Stability(value=Stable) static CrossAccountDestinationProps.Builder builder()
Copyright © 2022. All rights reserved.