@Stability(value=Stable) public static final class CrossAccountDestination.Builder extends Object implements software.amazon.jsii.Builder<CrossAccountDestination>
CrossAccountDestination.| Modifier and Type | Method and Description |
|---|---|
CrossAccountDestination |
build() |
static CrossAccountDestination.Builder |
create(software.constructs.Construct scope,
String id) |
CrossAccountDestination.Builder |
destinationName(String destinationName)
The name of the log destination.
|
CrossAccountDestination.Builder |
role(IRole role)
The role to assume that grants permissions to write to 'target'.
|
CrossAccountDestination.Builder |
targetArn(String targetArn)
The log destination target's ARN.
|
@Stability(value=Stable) public static CrossAccountDestination.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.CrossAccountDestination.Builder.@Stability(value=Stable) public CrossAccountDestination.Builder role(IRole role)
The role must be assumable by 'logs.{REGION}.amazonaws.com'.
role - The role to assume that grants permissions to write to 'target'. This parameter is required.this@Stability(value=Stable) public CrossAccountDestination.Builder targetArn(String targetArn)
targetArn - The log destination target's ARN. This parameter is required.this@Stability(value=Stable) public CrossAccountDestination.Builder destinationName(String destinationName)
Default: Automatically generated
destinationName - The name of the log destination. This parameter is required.this@Stability(value=Stable) public CrossAccountDestination build()
build in interface software.amazon.jsii.Builder<CrossAccountDestination>Copyright © 2022. All rights reserved.