ClusterProps
- class aws_cdk.aws_medialive_alpha.ClusterProps(*, instance_role, cluster_name=None, cluster_type=None, network_settings=None, tags=None)
Bases:
object(experimental) Properties for creating a MediaLive Cluster.
- Parameters:
instance_role (
IRole) – (experimental) The IAM role for nodes in the cluster. [disable-awslint:prefer-ref-interface]cluster_name (
Optional[str]) – (experimental) The name of the cluster. Default: - auto-generated namecluster_type (
Optional[ClusterType]) – (experimental) The hardware type for the cluster. Default: ClusterType.ON_PREMISESnetwork_settings (
Union[ClusterNetworkSettings,Dict[str,Any],None]) – (experimental) Network settings for the cluster - only required if your networking setup requires it. Default: - no network settingstags (
Optional[Mapping[str,str]]) – (experimental) Tags to add to the cluster. Default: - no tags
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# stack: Stack # instance_role: iam.IRole cluster = medialive.Cluster(stack, "Cluster", cluster_name="on-prem-cluster", cluster_type=medialive.ClusterType.ON_PREMISES, instance_role=instance_role )
Attributes
- cluster_name
(experimental) The name of the cluster.
- Default:
auto-generated name
- Stability:
experimental
- cluster_type
(experimental) The hardware type for the cluster.
- Default:
ClusterType.ON_PREMISES
- Stability:
experimental
- instance_role
(experimental) The IAM role for nodes in the cluster.
[disable-awslint:prefer-ref-interface]
- Stability:
experimental
- network_settings
(experimental) Network settings for the cluster - only required if your networking setup requires it.
- Default:
no network settings
- See:
- Stability:
experimental
- tags
(experimental) Tags to add to the cluster.
- Default:
no tags
- Stability:
experimental