CreateAliasRequest
public struct CreateAliasRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Specifies the alias name. This value must begin with alias/ followed by a name, such as alias/ExampleAlias. The alias name cannot begin with alias/aws/. The alias/aws/ prefix is reserved for AWS managed CMKs.
Declaration
Swift
public let aliasName: String
-
Identifies the CMK to which the alias refers. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. You cannot specify another alias. For help finding the key ID and ARN, see Finding the Key ID and ARN in the AWS Key Management Service Developer Guide.
Declaration
Swift
public let targetKeyId: String
-
Undocumented
Declaration
Swift
public init(aliasName: String, targetKeyId: String)
-
Declaration
Swift
public func validate(name: String) throws