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,ISubscriberRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:48.662Z")
@Stability(Stable)
public class CfnSubscriber
extends CfnResource
implements IInspectable, ISubscriberRef, 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")
.sources(List.of(SourceProperty.builder()
.awsLogSource(AwsLogSourceProperty.builder()
.sourceName("sourceName")
.sourceVersion("sourceVersion")
.build())
.customLogSource(CustomLogSourceProperty.builder()
.sourceName("sourceName")
.sourceVersion("sourceVersion")
.build())
.build()))
.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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAdds a natively supported AWS service as an Amazon Security Lake source.static final classA fluent builder forCfnSubscriber.static interfaceThird-party custom log source that meets the requirements to be added to Amazon Security Lake .static interfaceSources are logs and events generated from a single system that match a specific event class in the Open Cybersecurity Schema Framework (OCSF) schema.static interfaceSpecify 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.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.securitylake.ISubscriberRef
ISubscriberRef.Jsii$Default, ISubscriberRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSubscriber(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSubscriber(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.Amazon Security Lake supports log and event collection for natively supported AWS services .The subscriber descriptions for a subscriber account.The AWS identity used to access your data.The name of your Amazon Security Lake subscriber account.A reference to a Subscriber resource.getTags()An array of objects, one for each tag to associate with the subscriber.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAccessTypes(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.voidsetDataLakeArn(String value) The Amazon Resource Name (ARN) used to create the data lake.voidsetSources(List<Object> value) Amazon Security Lake supports log and event collection for natively supported AWS services .voidsetSources(IResolvable value) Amazon Security Lake supports log and event collection for natively supported AWS services .voidsetSubscriberDescription(String value) The subscriber descriptions for a subscriber account.voidsetSubscriberIdentity(IResolvable value) The AWS identity used to access your data.voidThe AWS identity used to access your data.voidsetSubscriberName(String value) The name of your Amazon Security Lake subscriber account.voidAn 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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods 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:
inspectin 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:
renderPropertiesin 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:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSubscriberRef
A reference to a Subscriber resource.- Specified by:
getSubscriberRefin interfaceISubscriberRef
-
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. -
getSources
Amazon Security Lake supports log and event collection for natively supported AWS services .Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSubscriber.SourceProperty> -
setSources
Amazon Security Lake supports log and event collection for natively supported AWS services . -
setSources
Amazon Security Lake supports log and event collection for natively supported AWS services . -
getSubscriberIdentity
The AWS identity used to access your data.Returns union: either
IResolvableorCfnSubscriber.SubscriberIdentityProperty -
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.
-