Class CfnSubscriber
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.securitylake.CfnSubscriber
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-07-12T19:34:09.804Z")
@Stability(Stable)
public class CfnSubscriber
extends CfnResource
implements IInspectable, ITaggableV2
Creates a subscriber for accounts that are already enabled in Amazon Security Lake.
You can create a subscriber with access to data in the current AWS Region.
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.securitylake.*; CfnSubscriber cfnSubscriber = CfnSubscriber.Builder.create(this, "MyCfnSubscriber") .accessTypes(List.of("accessTypes")) .dataLakeArn("dataLakeArn") .subscriberIdentity(SubscriberIdentityProperty.builder() .externalId("externalId") .principal("principal") .build()) .subscriberName("subscriberName") // the properties below are optional .subscriberDescription("subscriberDescription") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnSubscriber
.static interface
Specify the AWS account ID and external ID that the subscriber will use to access source data.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnSubscriber
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSubscriber
(software.amazon.jsii.JsiiObjectRef objRef) CfnSubscriber
(software.constructs.Construct scope, String id, CfnSubscriberProps props) -
Method Summary
Modifier and TypeMethodDescriptionYou can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.The Amazon Resource Name (ARN) of the Amazon Security Lake subscriber.The ARN name of the Amazon Security Lake subscriber.The Amazon Resource Name (ARN) of the S3 bucket.The Amazon Resource Name (ARN) of the Security Lake subscriber.The Amazon Resource Name (ARN) of the role used to create the Security Lake subscriber.Tag Manager which manages the tags for this resource.The Amazon Resource Name (ARN) used to create the data lake.The subscriber descriptions for a subscriber account.The AWS identity used to access your data.The name of your Amazon Security Lake subscriber account.getTags()
An array of objects, one for each tag to associate with the subscriber.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAccessTypes
(List<String> value) You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.void
setDataLakeArn
(String value) The Amazon Resource Name (ARN) used to create the data lake.void
setSubscriberDescription
(String value) The subscriber descriptions for a subscriber account.void
setSubscriberIdentity
(IResolvable value) The AWS identity used to access your data.void
The AWS identity used to access your data.void
setSubscriberName
(String value) The name of your Amazon Security Lake subscriber account.void
An array of objects, one for each tag to associate with the subscriber.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSubscriber
protected CfnSubscriber(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSubscriber
protected CfnSubscriber(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSubscriber
@Stability(Stable) public CfnSubscriber(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSubscriberProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrS3BucketArn
The Amazon Resource Name (ARN) of the S3 bucket. -
getAttrSubscriberArn
The Amazon Resource Name (ARN) of the Security Lake subscriber. -
getAttrSubscriberRoleArn
The Amazon Resource Name (ARN) of the role used to create the Security Lake subscriber. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getAccessTypes
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. -
setAccessTypes
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. -
getDataLakeArn
The Amazon Resource Name (ARN) used to create the data lake. -
setDataLakeArn
The Amazon Resource Name (ARN) used to create the data lake. -
getSubscriberIdentity
The AWS identity used to access your data. -
setSubscriberIdentity
The AWS identity used to access your data. -
setSubscriberIdentity
@Stability(Stable) public void setSubscriberIdentity(@NotNull CfnSubscriber.SubscriberIdentityProperty value) The AWS identity used to access your data. -
getSubscriberName
The name of your Amazon Security Lake subscriber account. -
setSubscriberName
The name of your Amazon Security Lake subscriber account. -
getSubscriberDescription
The subscriber descriptions for a subscriber account. -
setSubscriberDescription
The subscriber descriptions for a subscriber account. -
getTags
An array of objects, one for each tag to associate with the subscriber. -
setTags
An array of objects, one for each tag to associate with the subscriber.
-