Class CfnFpgaImage
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.ec2.CfnFpgaImage
- All Implemented Interfaces:
IInspectable,IFpgaImageRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:08.210Z")
@Stability(Stable)
public class CfnFpgaImage
extends CfnResource
implements IInspectable, IFpgaImageRef, ITaggableV2
Creates and manages an Amazon FPGA Image (AFI) from a design checkpoint (DCP).
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.ec2.*;
CfnFpgaImage cfnFpgaImage = CfnFpgaImage.Builder.create(this, "MyCfnFpgaImage")
.description("description")
.inputStorageLocation(StorageLocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.logsStorageLocation(StorageLocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnFpgaImage.static interfaceDescribes a storage location in Amazon S3.Nested 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.interfaces.ec2.IFpgaImageRef
IFpgaImageRef.Jsii$Default, IFpgaImageRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.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
ConstructorsModifierConstructorDescriptionprotectedCfnFpgaImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFpgaImage(software.amazon.jsii.JsiiObjectRef objRef) CfnFpgaImage(software.constructs.Construct scope, String id) Create a newAWS::EC2::FpgaImage.CfnFpgaImage(software.constructs.Construct scope, String id, CfnFpgaImageProps props) Create a newAWS::EC2::FpgaImage. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForFpgaImage(IFpgaImageRef resource) The ARN of the FPGA image.The date and time the AFI was created.Indicates whether data retention support is enabled for the AFI.The global FPGA image identifier (AGFI ID).The FPGA image identifier (AFI ID).The ID of the AWS account that owns the AFI.Indicates whether the AFI is public.The state of the AFI (pending | available | failed | unavailable).The time of the most recent update to the AFI.Tag Manager which manages the tags for this resource.A description for the AFI.A reference to a FpgaImage resource.Describes a storage location in Amazon S3.Describes a storage location in Amazon S3.getName()A name for the AFI.getTags()The tags assigned to the FPGA image.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnFpgaImage.renderProperties(Map<String, Object> props) voidsetDescription(String value) A description for the AFI.voidDescribes a storage location in Amazon S3.voidDescribes a storage location in Amazon S3.voidDescribes a storage location in Amazon S3.voidDescribes a storage location in Amazon S3.voidA name for the AFI.voidThe tags assigned to the FPGA image.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
-
CfnFpgaImage
protected CfnFpgaImage(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFpgaImage
protected CfnFpgaImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFpgaImage
@Stability(Stable) public CfnFpgaImage(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnFpgaImageProps props) Create a newAWS::EC2::FpgaImage.- 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.
-
CfnFpgaImage
@Stability(Stable) public CfnFpgaImage(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::EC2::FpgaImage.- 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
-
arnForFpgaImage
- Parameters:
resource- This parameter is required.
-
isCfnFpgaImage
Checks whether the given object is a CfnFpgaImage.- 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.
-
getAttrArn
The ARN of the FPGA image. -
getAttrCreateTime
The date and time the AFI was created. -
getAttrDataRetentionSupport
Indicates whether data retention support is enabled for the AFI. -
getAttrFpgaImageGlobalId
The global FPGA image identifier (AGFI ID). -
getAttrFpgaImageId
The FPGA image identifier (AFI ID). -
getAttrOwnerId
The ID of the AWS account that owns the AFI. -
getAttrPublic
Indicates whether the AFI is public. -
getAttrState
The state of the AFI (pending | available | failed | unavailable). -
getAttrUpdateTime
The time of the most recent update to the AFI. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getFpgaImageRef
A reference to a FpgaImage resource.- Specified by:
getFpgaImageRefin interfaceIFpgaImageRef
-
getDescription
A description for the AFI. -
setDescription
A description for the AFI. -
getInputStorageLocation
Describes a storage location in Amazon S3.Returns union: either
IResolvableorCfnFpgaImage.StorageLocationProperty -
setInputStorageLocation
Describes a storage location in Amazon S3. -
setInputStorageLocation
@Stability(Stable) public void setInputStorageLocation(@Nullable CfnFpgaImage.StorageLocationProperty value) Describes a storage location in Amazon S3. -
getLogsStorageLocation
Describes a storage location in Amazon S3.Returns union: either
IResolvableorCfnFpgaImage.StorageLocationProperty -
setLogsStorageLocation
Describes a storage location in Amazon S3. -
setLogsStorageLocation
@Stability(Stable) public void setLogsStorageLocation(@Nullable CfnFpgaImage.StorageLocationProperty value) Describes a storage location in Amazon S3. -
getName
A name for the AFI. -
setName
A name for the AFI. -
getTags
The tags assigned to the FPGA image. -
setTags
The tags assigned to the FPGA image.
-