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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSinkProps
static final class
An implementation forCfnSinkProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSinkProps.Builder
builder()
getName()
A name for the sink.default Object
The IAM policy that grants permissions to source accounts to link to this sink.getTags()
An array of key-value pairs to apply to the sink.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A name for the sink. -
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
An array of key-value pairs to apply to the sink.For more information, see Tag .
-
builder
- Returns:
- a
CfnSinkProps.Builder
ofCfnSinkProps
-