Definition of AWS::MediaLive::Cluster Resource Type
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Cluster(resource_name: str,
args: Optional[ClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_type: Optional[ClusterType] = None,
instance_role_arn: Optional[str] = None,
name: Optional[str] = None,
network_settings: Optional[ClusterNetworkSettingsArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: aws-native:medialive:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_medialive_cluster" "name" {
# resource properties
}
Parameters
- name
string
- The unique name of the resource.
- args
ClusterArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resource.
- args
ClusterArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
ClusterArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resource.
- args
ClusterArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
ClusterArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Arn
string
- The ARN of the Cluster.
- AwsId
string
- The unique ID of the Cluster.
- ChannelIds
[]string
- The MediaLive Channels that are currently running on Nodes in this Cluster.
- Id
string
- The provider-assigned unique ID for this managed resource.
- State
ClusterStateEnum
- arn
String
- The ARN of the Cluster.
- awsId
String
- The unique ID of the Cluster.
- channelIds
List<String>
- The MediaLive Channels that are currently running on Nodes in this Cluster.
- id
String
- The provider-assigned unique ID for this managed resource.
- state
ClusterState
- arn
string
- The ARN of the Cluster.
- awsId
string
- The unique ID of the Cluster.
- channelIds
string[]
- The MediaLive Channels that are currently running on Nodes in this Cluster.
- id
string
- The provider-assigned unique ID for this managed resource.
- state
ClusterState
- arn
str
- The ARN of the Cluster.
- aws_id
str
- The unique ID of the Cluster.
- channel_ids
Sequence[str]
- The MediaLive Channels that are currently running on Nodes in this Cluster.
- id
str
- The provider-assigned unique ID for this managed resource.
- state
ClusterState
Look up Existing Cluster Resource
Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Cluster get(String name, Output<String> id, CustomResourceOptions options)
resources: existingCluster: type: aws-native:medialive:Cluster get: id: ${id}
import {
to = aws-native_medialive_cluster.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
ClusterState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ClusterInterfaceMapping, ClusterInterfaceMappingArgs
Network mappings for the cluster- LogicalInterfaceName
string
- logical interface name, unique in the list
- NetworkId
string
- Network Id to be associated with the logical interface name, can be duplicated in list
- LogicalInterfaceName
string
- logical interface name, unique in the list
- NetworkId
string
- Network Id to be associated with the logical interface name, can be duplicated in list
- logical_interface_name
string
- logical interface name, unique in the list
- network_id
string
- Network Id to be associated with the logical interface name, can be duplicated in list
- logicalInterfaceName
String
- logical interface name, unique in the list
- networkId
String
- Network Id to be associated with the logical interface name, can be duplicated in list
- logicalInterfaceName
string
- logical interface name, unique in the list
- networkId
string
- Network Id to be associated with the logical interface name, can be duplicated in list
- logical_interface_name
str
- logical interface name, unique in the list
- network_id
str
- Network Id to be associated with the logical interface name, can be duplicated in list
- logicalInterfaceName
String
- logical interface name, unique in the list
- networkId
String
- Network Id to be associated with the logical interface name, can be duplicated in list
ClusterNetworkSettings, ClusterNetworkSettingsArgs
On premises settings which will have the interface network mappings and default Output logical interfaceClusterState, ClusterStateArgs
The current state of the Cluster.| Name | Value |
|---|
| Creating | CREATING |
| CreateFailed | CREATE_FAILED |
| Active | ACTIVE |
| Deleting | DELETING |
| Deleted | DELETED |
| Name | Value |
|---|
| ClusterStateCreating | CREATING |
| ClusterStateCreateFailed | CREATE_FAILED |
| ClusterStateActive | ACTIVE |
| ClusterStateDeleting | DELETING |
| ClusterStateDeleted | DELETED |
| Value |
|---|
CREATING |
CREATE_FAILED |
ACTIVE |
DELETING |
DELETED |
| Name | Value |
|---|
| Creating | CREATING |
| CreateFailed | CREATE_FAILED |
| Active | ACTIVE |
| Deleting | DELETING |
| Deleted | DELETED |
| Name | Value |
|---|
| Creating | CREATING |
| CreateFailed | CREATE_FAILED |
| Active | ACTIVE |
| Deleting | DELETING |
| Deleted | DELETED |
| Name | Value |
|---|
| CREATING | CREATING |
| CREATE_FAILED | CREATE_FAILED |
| ACTIVE | ACTIVE |
| DELETING | DELETING |
| DELETED | DELETED |
| Value |
|---|
CREATING |
CREATE_FAILED |
ACTIVE |
DELETING |
DELETED |
ClusterType, ClusterTypeArgs
The hardware type for the cluster.| Name | Value |
|---|
| OnPremises | ON_PREMISES |
| OutpostsRack | OUTPOSTS_RACK |
| OutpostsServer | OUTPOSTS_SERVER |
| Ec2 | EC2 |
| Name | Value |
|---|
| ClusterTypeOnPremises | ON_PREMISES |
| ClusterTypeOutpostsRack | OUTPOSTS_RACK |
| ClusterTypeOutpostsServer | OUTPOSTS_SERVER |
| ClusterTypeEc2 | EC2 |
| Value |
|---|
ON_PREMISES |
OUTPOSTS_RACK |
OUTPOSTS_SERVER |
EC2 |
| Name | Value |
|---|
| OnPremises | ON_PREMISES |
| OutpostsRack | OUTPOSTS_RACK |
| OutpostsServer | OUTPOSTS_SERVER |
| Ec2 | EC2 |
| Name | Value |
|---|
| OnPremises | ON_PREMISES |
| OutpostsRack | OUTPOSTS_RACK |
| OutpostsServer | OUTPOSTS_SERVER |
| Ec2 | EC2 |
| Name | Value |
|---|
| ON_PREMISES | ON_PREMISES |
| OUTPOSTS_RACK | OUTPOSTS_RACK |
| OUTPOSTS_SERVER | OUTPOSTS_SERVER |
| EC2 | EC2 |
| Value |
|---|
ON_PREMISES |
OUTPOSTS_RACK |
OUTPOSTS_SERVER |
EC2 |
Tag, TagArgs
A set of tags to apply to the resource.- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0