Struct aws_sdk_mediapackage::model::authorization::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Authorization
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cdn_identifier_secret(self, input: impl Into<String>) -> Self
pub fn cdn_identifier_secret(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.
sourcepub fn set_cdn_identifier_secret(self, input: Option<String>) -> Self
pub fn set_cdn_identifier_secret(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.
sourcepub fn secrets_role_arn(self, input: impl Into<String>) -> Self
pub fn secrets_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
sourcepub fn set_secrets_role_arn(self, input: Option<String>) -> Self
pub fn set_secrets_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
sourcepub fn build(self) -> Authorization
pub fn build(self) -> Authorization
Consumes the builder and constructs a Authorization
.