Class CfnApplication

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:04.503Z") @Stability(Stable) public class CfnApplication extends CfnResource implements IInspectable, IApplicationRef, ITaggableV2
Resource Type definition for AWS::SecurityAgent::Application.

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.securityagent.*;
 CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
         .defaultKmsKeyId("defaultKmsKeyId")
         .idCConfiguration(IdCConfigurationProperty.builder()
                 .idCApplicationArn("idCApplicationArn")
                 .idCInstanceArn("idCInstanceArn")
                 .build())
         .roleArn("roleArn")
         .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

    • CfnApplication

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

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

      @Stability(Stable) public CfnApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnApplicationProps props)
      Create a new AWS::SecurityAgent::Application.

      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.
    • CfnApplication

      @Stability(Stable) public CfnApplication(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::SecurityAgent::Application.

      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.
  • Method Details

    • arnForApplication

      @Stability(Stable) @NotNull public static String arnForApplication(@NotNull IApplicationRef resource)
      Parameters:
      resource - This parameter is required.
    • fromApplicationId

      @Stability(Stable) @NotNull public static IApplicationRef fromApplicationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationId)
      Creates a new IApplicationRef from a applicationId.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      applicationId - This parameter is required.
    • isCfnApplication

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

      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.
    • getApplicationRef

      @Stability(Stable) @NotNull public ApplicationReference getApplicationRef()
      A reference to a Application resource.
      Specified by:
      getApplicationRef in interface IApplicationRef
    • getAttrApplicationId

      @Stability(Stable) @NotNull public String getAttrApplicationId()
    • getAttrApplicationName

      @Stability(Stable) @NotNull public String getAttrApplicationName()
    • getAttrDomain

      @Stability(Stable) @NotNull public String getAttrDomain()
    • getAttrIdCConfigurationIdCApplicationArn

      @Stability(Stable) @NotNull public String getAttrIdCConfigurationIdCApplicationArn()
    • 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
    • getDefaultKmsKeyId

      @Stability(Stable) @Nullable public String getDefaultKmsKeyId()
      Identifier of a KMS key.
    • setDefaultKmsKeyId

      @Stability(Stable) public void setDefaultKmsKeyId(@Nullable String value)
      Identifier of a KMS key.
    • getIdCConfiguration

      @Stability(Stable) @Nullable public Object getIdCConfiguration()
    • setIdCConfiguration

      @Stability(Stable) public void setIdCConfiguration(@Nullable IResolvable value)
    • setIdCConfiguration

      @Stability(Stable) public void setIdCConfiguration(@Nullable CfnApplication.IdCConfigurationProperty value)
    • getRoleArn

      @Stability(Stable) @Nullable public String getRoleArn()
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@Nullable String value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags for the application.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags for the application.