Class CfnOpsItem
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ssm.CfnOpsItem
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IOpsItemRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:12.469Z")
@Stability(Stable)
public class CfnOpsItem
extends CfnResource
implements IInspectable, IOpsItemRef, ITaggableV2
Resource schema for AWS::SSM::OpsItem.
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.ssm.*;
CfnOpsItem cfnOpsItem = CfnOpsItem.Builder.create(this, "MyCfnOpsItem")
.description("description")
.source("source")
.title("title")
// the properties below are optional
.category("category")
.priority(123)
.severity("severity")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ssm.IOpsItemRef
IOpsItemRef.Jsii$Default, IOpsItemRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnOpsItem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOpsItem(software.amazon.jsii.JsiiObjectRef objRef) CfnOpsItem(software.constructs.Construct scope, String id, CfnOpsItemProps props) Create a newAWS::SSM::OpsItem. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForOpsItem(IOpsItemRef resource) The user who created the OpsItem.The time the OpsItem was created.The user who last modified the OpsItem.The time the OpsItem was last modified.The ARN of the OpsItem.The ID of the OpsItem.The type of OpsItem.The status of the OpsItem.The version of the OpsItem.The category of the OpsItem.Tag Manager which manages the tags for this resource.The description of the OpsItem.A reference to a OpsItem resource.The priority of the OpsItem.The severity of the OpsItem.The origin of the OpsItem.getTags()Tags for the OpsItem.getTitle()The title of the OpsItem.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnOpsItem.renderProperties(Map<String, Object> props) voidsetCategory(String value) The category of the OpsItem.voidsetDescription(String value) The description of the OpsItem.voidsetPriority(Number value) The priority of the OpsItem.voidsetSeverity(String value) The severity of the OpsItem.voidThe origin of the OpsItem.voidTags for the OpsItem.voidThe title of the OpsItem.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOpsItem
protected CfnOpsItem(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOpsItem
protected CfnOpsItem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOpsItem
@Stability(Stable) public CfnOpsItem(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOpsItemProps props) Create a newAWS::SSM::OpsItem.- 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
-
arnForOpsItem
- Parameters:
resource- This parameter is required.
-
isCfnOpsItem
Checks whether the given object is a CfnOpsItem.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedBy
The user who created the OpsItem. -
getAttrCreatedTime
The time the OpsItem was created. -
getAttrLastModifiedBy
The user who last modified the OpsItem. -
getAttrLastModifiedTime
The time the OpsItem was last modified. -
getAttrOpsItemArn
The ARN of the OpsItem. -
getAttrOpsItemId
The ID of the OpsItem. -
getAttrOpsItemType
The type of OpsItem. -
getAttrStatus
The status of the OpsItem. -
getAttrVersion
The version of the OpsItem. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getOpsItemRef
A reference to a OpsItem resource.- Specified by:
getOpsItemRefin interfaceIOpsItemRef
-
getDescription
The description of the OpsItem. -
setDescription
The description of the OpsItem. -
getSource
The origin of the OpsItem. -
setSource
The origin of the OpsItem. -
getTitle
The title of the OpsItem. -
setTitle
The title of the OpsItem. -
getCategory
The category of the OpsItem. -
setCategory
The category of the OpsItem. -
getPriority
The priority of the OpsItem. -
setPriority
The priority of the OpsItem. -
getSeverity
The severity of the OpsItem. -
setSeverity
The severity of the OpsItem. -
getTags
Tags for the OpsItem. -
setTags
Tags for the OpsItem.
-