AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateEncryption

import "github.com/aws/aws-sdk-go/service/mediaconnect"

type UpdateEncryption struct { Algorithm *string `locationName:"algorithm" type:"string" enum:"Algorithm"` KeyType *string `locationName:"keyType" type:"string" enum:"KeyType"` RoleArn *string `locationName:"roleArn" type:"string"` SecretArn *string `locationName:"secretArn" type:"string"` }

Information about the encryption of the flow.

Algorithm

Type: *string

The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

KeyType

Type: *string

The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

RoleArn

Type: *string

The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

SecretArn

Type: *string

The ARN that was assigned to the secret that you created in AWS Secrets Manager to store the encryption key.

Method

GoString

func (s UpdateEncryption) GoString() string

GoString returns the string representation

SetAlgorithm

func (s *UpdateEncryption) SetAlgorithm(v string) *UpdateEncryption

SetAlgorithm sets the Algorithm field's value.

SetKeyType

func (s *UpdateEncryption) SetKeyType(v string) *UpdateEncryption

SetKeyType sets the KeyType field's value.

SetRoleArn

func (s *UpdateEncryption) SetRoleArn(v string) *UpdateEncryption

SetRoleArn sets the RoleArn field's value.

SetSecretArn

func (s *UpdateEncryption) SetSecretArn(v string) *UpdateEncryption

SetSecretArn sets the SecretArn field's value.

String

func (s UpdateEncryption) String() string

String returns the string representation

On this page: