Class CfnEnabledBaseline

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.101.0 (build b95fe5d)", date="2024-07-12T19:33:59.761Z") @Stability(Stable) public class CfnEnabledBaseline extends CfnResource implements IInspectable, ITaggableV2
This resource represents a Baseline that has been applied to a target.

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.controltower.*;
 Object value;
 CfnEnabledBaseline cfnEnabledBaseline = CfnEnabledBaseline.Builder.create(this, "MyCfnEnabledBaseline")
         .baselineIdentifier("baselineIdentifier")
         .baselineVersion("baselineVersion")
         .targetIdentifier("targetIdentifier")
         // the properties below are optional
         .parameters(List.of(ParameterProperty.builder()
                 .key("key")
                 .value(value)
                 .build()))
         .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

    • CfnEnabledBaseline

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

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

      @Stability(Stable) public CfnEnabledBaseline(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEnabledBaselineProps 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.
    • getAttrEnabledBaselineIdentifier

      @Stability(Stable) @NotNull public String getAttrEnabledBaselineIdentifier()
      The ARN of the EnabledBaseline resource.
    • 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
    • getBaselineIdentifier

      @Stability(Stable) @NotNull public String getBaselineIdentifier()
      The specific Baseline enabled as part of the EnabledBaseline resource.
    • setBaselineIdentifier

      @Stability(Stable) public void setBaselineIdentifier(@NotNull String value)
      The specific Baseline enabled as part of the EnabledBaseline resource.
    • getBaselineVersion

      @Stability(Stable) @NotNull public String getBaselineVersion()
      The enabled version of the Baseline .
    • setBaselineVersion

      @Stability(Stable) public void setBaselineVersion(@NotNull String value)
      The enabled version of the Baseline .
    • getTargetIdentifier

      @Stability(Stable) @NotNull public String getTargetIdentifier()
      The target on which to enable the Baseline .
    • setTargetIdentifier

      @Stability(Stable) public void setTargetIdentifier(@NotNull String value)
      The target on which to enable the Baseline .
    • getParameters

      @Stability(Stable) @Nullable public Object getParameters()
      Parameters that are applied when enabling this Baseline .
    • setParameters

      @Stability(Stable) public void setParameters(@Nullable IResolvable value)
      Parameters that are applied when enabling this Baseline .
    • setParameters

      @Stability(Stable) public void setParameters(@Nullable List<Object> value)
      Parameters that are applied when enabling this Baseline .
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags associated with input to EnableBaseline .
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags associated with input to EnableBaseline .