CfnUploadProps

class aws_cdk.aws_devicefarm.CfnUploadProps(*, name, project_arn, type, content_type=None)

Bases: object

Properties for defining a CfnUpload.

Parameters:
  • name (str) – The upload’s file name.

  • project_arn (str) – The ARN of the project for the upload.

  • type (str) – The upload’s type.

  • content_type (Optional[str]) – The upload’s content type (for example, application/octet-stream).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-upload.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_upload_props = devicefarm.CfnUploadProps(
    name="name",
    project_arn="projectArn",
    type="type",

    # the properties below are optional
    content_type="contentType"
)

Attributes

content_type

The upload’s content type (for example, application/octet-stream).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-upload.html#cfn-devicefarm-upload-contenttype

name

The upload’s file name.

See:

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

project_arn

The ARN of the project for the upload.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-upload.html#cfn-devicefarm-upload-projectarn

type

The upload’s type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-upload.html#cfn-devicefarm-upload-type