Interface IMultipartBodyOptions
Options when creating MultipartBody
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface IMultipartBodyOptions
Syntax (vb)
Public Interface 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;
var multipartBodyOptions = new MultipartBodyOptions {
ContentType = "contentType",
// the properties below are optional
Body = "body",
TransferEncoding = "transferEncoding"
};
Synopsis
Properties
Body | The body of message. |
ContentType |
|
TransferEncoding |
|
Properties
Body
The body of message.
virtual string Body { get; }
Property Value
System.String
Remarks
Default: undefined - body will not be added to part
ContentType
Content-Type
header of this part.
string ContentType { get; }
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.
virtual string TransferEncoding { get; }
Property Value
System.String
Remarks
Default: undefined - body is not encoded