Interface CfnSinkProps

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

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

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.oam.*;
 Object policy;
 CfnSinkProps cfnSinkProps = CfnSinkProps.builder()
         .name("name")
         // the properties below are optional
         .policy(policy)
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      A name for the sink.
    • getPolicy

      @Stability(Stable) @Nullable default Object getPolicy()
      The IAM policy that grants permissions to source accounts to link to this sink.

      The policy can grant permission in the following ways:

      • Include organization IDs or organization paths to permit all accounts in an organization
      • Include account IDs to permit the specified accounts
    • getTags

      @Stability(Stable) @Nullable default Map<String,String> getTags()
      An array of key-value pairs to apply to the sink.

      For more information, see Tag .

    • builder

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