Class CfnApplicationsList

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

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-30T11:04:52.483Z") @Stability(Stable) public class CfnApplicationsList extends CfnResource implements IInspectable, IApplicationsListRef, ITaggableV2
Creates an AWS Firewall Manager applications list.

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.fms.*;
 CfnApplicationsList cfnApplicationsList = CfnApplicationsList.Builder.create(this, "MyCfnApplicationsList")
         .appsList(List.of(AppProperty.builder()
                 .appName("appName")
                 .port(123)
                 .protocol("protocol")
                 .build()))
         .listName("listName")
         // 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

    • CfnApplicationsList

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

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

      @Stability(Stable) public CfnApplicationsList(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationsListProps props)
      Create a new AWS::FMS::ApplicationsList.

      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

    • arnForApplicationsList

      @Stability(Stable) @NotNull public static String arnForApplicationsList(@NotNull IApplicationsListRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnApplicationsList

      @Stability(Stable) @NotNull public static Boolean isCfnApplicationsList(@NotNull Object x)
      Checks whether the given object is a CfnApplicationsList.

      Parameters:
      x - This parameter is required.
    • 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.
    • getApplicationsListRef

      @Stability(Stable) @NotNull public ApplicationsListReference getApplicationsListRef()
      A reference to a ApplicationsList resource.
      Specified by:
      getApplicationsListRef in interface IApplicationsListRef
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the applications list.
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
      The time that the Firewall Manager applications list was created.
    • getAttrLastUpdateTime

      @Stability(Stable) @NotNull public String getAttrLastUpdateTime()
      The time that the Firewall Manager applications list was last updated.
    • getAttrListId

      @Stability(Stable) @NotNull public String getAttrListId()
      The ID of the Firewall Manager applications list.
    • 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
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getAppsList

      @Stability(Stable) @NotNull public Object getAppsList()
      An array of applications in the Firewall Manager applications list.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnApplicationsList.AppProperty>

    • setAppsList

      @Stability(Stable) public void setAppsList(@NotNull IResolvable value)
      An array of applications in the Firewall Manager applications list.
    • setAppsList

      @Stability(Stable) public void setAppsList(@NotNull List<Object> value)
      An array of applications in the Firewall Manager applications list.
    • getListName

      @Stability(Stable) @NotNull public String getListName()
      The name of the Firewall Manager applications list.
    • setListName

      @Stability(Stable) public void setListName(@NotNull String value)
      The name of the Firewall Manager applications list.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to the applications list.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to the applications list.