AWSKinesisStartStreamEncryptionInput

Objective-C

@interface AWSKinesisStartStreamEncryptionInput

Swift

class AWSKinesisStartStreamEncryptionInput
  • The encryption type to use. The only valid value is KMS.

    Declaration

    Objective-C

    @property (nonatomic) AWSKinesisEncryptionType encryptionType;

    Swift

    var encryptionType: AWSKinesisEncryptionType { get set }
  • The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by “alias/”.You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

    • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012

    • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName

    • Globally unique key ID example: 12345678-1234-1234-1234-123456789012

    • Alias name example: alias/MyAliasName

    • Master key owned by Kinesis Data Streams: alias/aws/kinesis

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyId;

    Swift

    var keyId: String? { get set }
  • The name of the stream for which to start encrypting records.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable streamName;

    Swift

    var streamName: String? { get set }