Class INotificationRule.Jsii$Proxy
- All Implemented Interfaces:
- IResource,- IResource.Jsii$Default,- INotificationRule,- INotificationRule.Jsii$Default,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IConstruct.Jsii$Default,- software.constructs.IDependable,- software.constructs.IDependable.Jsii$Default
- Enclosing interface:
- INotificationRule
- 
Nested Class SummaryNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependablesoftware.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleINotificationRule.Jsii$Default, INotificationRule.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResourceIResource.Jsii$Default, IResource.Jsii$Proxy
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal BooleanaddTarget(INotificationRuleTarget target) Adds target to notification rule.final voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final software.constructs.NodegetNode()The tree node.final StringThe ARN of the notification rule (i.e.final StackgetStack()The stack in which this resource is defined.Methods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
Jsii$Proxyprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) 
 
- 
- 
Method Details- 
getNode@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
- getNodein interface- software.constructs.IConstruct
- Specified by:
- getNodein interface- software.constructs.IConstruct.Jsii$Default
- Specified by:
- getNodein interface- INotificationRule.Jsii$Default
- Specified by:
- getNodein interface- IResource.Jsii$Default
 
- 
getEnvThe environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into. - Specified by:
- getEnvin interface- INotificationRule.Jsii$Default
- Specified by:
- getEnvin interface- IResource
- Specified by:
- getEnvin interface- IResource.Jsii$Default
 
- 
getStackThe stack in which this resource is defined.- Specified by:
- getStackin interface- INotificationRule.Jsii$Default
- Specified by:
- getStackin interface- IResource
- Specified by:
- getStackin interface- IResource.Jsii$Default
 
- 
getNotificationRuleArnThe ARN of the notification rule (i.e. arn:aws:codestar-notifications:::notificationrule/01234abcde).- Specified by:
- getNotificationRuleArnin interface- INotificationRule
- Specified by:
- getNotificationRuleArnin interface- INotificationRule.Jsii$Default
 
- 
applyRemovalPolicyApply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced. The resource can be deleted ( RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
- applyRemovalPolicyin interface- INotificationRule.Jsii$Default
- Specified by:
- applyRemovalPolicyin interface- IResource
- Specified by:
- applyRemovalPolicyin interface- IResource.Jsii$Default
- Parameters:
- policy- This parameter is required.
 
- 
addTargetAdds target to notification rule.- Specified by:
- addTargetin interface- INotificationRule
- Specified by:
- addTargetin interface- INotificationRule.Jsii$Default
- Parameters:
- target- The SNS topic or AWS Chatbot Slack target. This parameter is required.
- Returns:
- boolean - return true if it had any effect
 
 
-