Class CfnGuardrailVersion

All Implemented Interfaces:
IInspectable,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:58.325Z") @Stability(Stable) public class CfnGuardrailVersion extends CfnResource implements IInspectable
Creates a version of the guardrail.

Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnGuardrailVersion cfnGuardrailVersion = CfnGuardrailVersion.Builder.create(this, "MyCfnGuardrailVersion")
         // the properties below are optional

See Also:
  • Field Details


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

    • CfnGuardrailVersion

      protected CfnGuardrailVersion( objRef)
    • CfnGuardrailVersion

      protected CfnGuardrailVersion( initializationMode)
    • CfnGuardrailVersion

      @Stability(Stable) public CfnGuardrailVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGuardrailVersionProps props)
      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
      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)
      renderProperties in class CfnResource
      props - This parameter is required.
    • getAttrGuardrailArn

      @Stability(Stable) @NotNull public String getAttrGuardrailArn()
      The ARN of the guardrail.
    • getAttrGuardrailId

      @Stability(Stable) @NotNull public String getAttrGuardrailId()
      The unique identifier of the guardrail.
    • getAttrVersion

      @Stability(Stable) @NotNull public String getAttrVersion()
      The version of the guardrail.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public String getGuardrailIdentifier()
      The unique identifier of the guardrail.
    • setGuardrailIdentifier

      @Stability(Stable) public void setGuardrailIdentifier(@NotNull String value)
      The unique identifier of the guardrail.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description of the guardrail version.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description of the guardrail version.