Class CfnSourceLocation.AccessConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceLocation.AccessConfigurationProperty>
- Enclosing interface:
CfnSourceLocation.AccessConfigurationProperty
CfnSourceLocation.AccessConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessType
(String accessType) Sets the value ofCfnSourceLocation.AccessConfigurationProperty.getAccessType()
build()
Builds the configured instance.secretsManagerAccessTokenConfiguration
(IResolvable secretsManagerAccessTokenConfiguration) secretsManagerAccessTokenConfiguration
(CfnSourceLocation.SecretsManagerAccessTokenConfigurationProperty secretsManagerAccessTokenConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessType
@Stability(Stable) public CfnSourceLocation.AccessConfigurationProperty.Builder accessType(String accessType) Sets the value ofCfnSourceLocation.AccessConfigurationProperty.getAccessType()
- Parameters:
accessType
- The type of authentication used to access content fromHttpConfiguration::BaseUrl
on your source location. Accepted value:S3_SIGV4
.S3_SIGV4
- AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.Before you can use
S3_SIGV4
, you must meet these requirements:• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.
• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.
• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.
- Returns:
this
-
secretsManagerAccessTokenConfiguration
@Stability(Stable) public CfnSourceLocation.AccessConfigurationProperty.Builder secretsManagerAccessTokenConfiguration(IResolvable secretsManagerAccessTokenConfiguration) Sets the value ofCfnSourceLocation.AccessConfigurationProperty.getSecretsManagerAccessTokenConfiguration()
- Parameters:
secretsManagerAccessTokenConfiguration
- AWS Secrets Manager access token configuration parameters.- Returns:
this
-
secretsManagerAccessTokenConfiguration
@Stability(Stable) public CfnSourceLocation.AccessConfigurationProperty.Builder secretsManagerAccessTokenConfiguration(CfnSourceLocation.SecretsManagerAccessTokenConfigurationProperty secretsManagerAccessTokenConfiguration) Sets the value ofCfnSourceLocation.AccessConfigurationProperty.getSecretsManagerAccessTokenConfiguration()
- Parameters:
secretsManagerAccessTokenConfiguration
- AWS Secrets Manager access token configuration parameters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSourceLocation.AccessConfigurationProperty>
- Returns:
- a new instance of
CfnSourceLocation.AccessConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-