Show / Hide Table of Contents

Class MultipartBodyOptions

Options when creating MultipartBody.

Inheritance
System.Object
MultipartBodyOptions
Implements
IMultipartBodyOptions
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class MultipartBodyOptions : Object, IMultipartBodyOptions
Syntax (vb)
Public Class MultipartBodyOptions
    Inherits Object
    Implements IMultipartBodyOptions
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

MultipartBodyOptions multipartBodyOptions = new MultipartBodyOptions {
    ContentType = "contentType",

    // the properties below are optional
    Body = "body",
    TransferEncoding = "transferEncoding"
};

Synopsis

Constructors

MultipartBodyOptions()

Properties

Body

The body of message.

ContentType

Content-Type header of this part.

TransferEncoding

Content-Transfer-Encoding header specifying part encoding.

Constructors

MultipartBodyOptions()

public MultipartBodyOptions()

Properties

Body

The body of message.

public string Body { get; set; }
Property Value

System.String

Remarks

Default: undefined - body will not be added to part

ContentType

Content-Type header of this part.

public string ContentType { get; set; }
Property Value

System.String

Remarks

Some examples of content types:

    For Linux shell scripts use text/x-shellscript.

    TransferEncoding

    Content-Transfer-Encoding header specifying part encoding.

    public string TransferEncoding { get; set; }
    Property Value

    System.String

    Remarks

    Default: undefined - body is not encoded

    Implements

    IMultipartBodyOptions
    Back to top Generated by DocFX