CfnFpgaImageProps

class aws_cdk.aws_ec2.CfnFpgaImageProps(*, description=None, input_storage_location=None, logs_storage_location=None, name=None, tags=None)

Bases: object

Properties for defining a CfnFpgaImage.

Parameters:
  • description (Optional[str]) – A description for the AFI.

  • input_storage_location (Union[IResolvable, StorageLocationProperty, Dict[str, Any], None]) – Describes a storage location in Amazon S3.

  • logs_storage_location (Union[IResolvable, StorageLocationProperty, Dict[str, Any], None]) – Describes a storage location in Amazon S3.

  • name (Optional[str]) – A name for the AFI.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags assigned to the FPGA image.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-fpgaimage.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_fpga_image_props = ec2.CfnFpgaImageProps(
    description="description",
    input_storage_location=ec2.CfnFpgaImage.StorageLocationProperty(
        bucket="bucket",
        key="key"
    ),
    logs_storage_location=ec2.CfnFpgaImage.StorageLocationProperty(
        bucket="bucket",
        key="key"
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A description for the AFI.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-fpgaimage.html#cfn-ec2-fpgaimage-description

input_storage_location

Describes a storage location in Amazon S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-fpgaimage.html#cfn-ec2-fpgaimage-inputstoragelocation

logs_storage_location

Describes a storage location in Amazon S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-fpgaimage.html#cfn-ec2-fpgaimage-logsstoragelocation

name

A name for the AFI.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-fpgaimage.html#cfn-ec2-fpgaimage-name

tags

The tags assigned to the FPGA image.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-fpgaimage.html#cfn-ec2-fpgaimage-tags