Interface CrossAccountDestinationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CrossAccountDestinationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.096Z") @Stability(Stable) public interface CrossAccountDestinationProps extends software.amazon.jsii.JsiiSerializable
Properties for a CrossAccountDestination.

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();
 
  • Method Details

    • getRole

      @Stability(Stable) @NotNull IRole getRole()
      The role to assume that grants permissions to write to 'target'.

      The role must be assumable by 'logs.{REGION}.amazonaws.com'.

    • getTargetArn

      @Stability(Stable) @NotNull String getTargetArn()
      The log destination target's ARN.
    • getDestinationName

      @Stability(Stable) @Nullable default String getDestinationName()
      The name of the log destination.

      Default: Automatically generated

    • builder

      @Stability(Stable) static CrossAccountDestinationProps.Builder builder()
      Returns:
      a CrossAccountDestinationProps.Builder of CrossAccountDestinationProps