Class CfnMailManagerAddonInstance

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:51.526Z") @Stability(Stable) public class CfnMailManagerAddonInstance extends CfnResource implements IInspectable, ITaggableV2
Creates an Add On instance for the subscription indicated in the request.

The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.

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.ses.*;
 CfnMailManagerAddonInstance cfnMailManagerAddonInstance = CfnMailManagerAddonInstance.Builder.create(this, "MyCfnMailManagerAddonInstance")
         .addonSubscriptionId("addonSubscriptionId")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMailManagerAddonInstance

      protected CfnMailManagerAddonInstance(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMailManagerAddonInstance

      protected CfnMailManagerAddonInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMailManagerAddonInstance

      @Stability(Stable) public CfnMailManagerAddonInstance(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMailManagerAddonInstanceProps 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrAddonInstanceArn

      @Stability(Stable) @NotNull public String getAttrAddonInstanceArn()
      The Amazon Resource Name (ARN) of the Add On instance.
    • getAttrAddonInstanceId

      @Stability(Stable) @NotNull public String getAttrAddonInstanceId()
      The unique ID of the Add On instance.
    • getAttrAddonName

      @Stability(Stable) @NotNull public String getAttrAddonName()
      The name of the Add On for the instance.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getAddonSubscriptionId

      @Stability(Stable) @NotNull public String getAddonSubscriptionId()
      The subscription ID for the instance.
    • setAddonSubscriptionId

      @Stability(Stable) public void setAddonSubscriptionId(@NotNull String value)
      The subscription ID for the instance.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags used to organize, track, or control access for the resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags used to organize, track, or control access for the resource.