|
| 1 | +{ |
| 2 | + "typeName" : "AWS::IVS::Channel", |
| 3 | + "description" : "Resource Type definition for AWS::IVS::Channel", |
| 4 | + "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", |
| 5 | + "definitions" : { |
| 6 | + "Tag" : { |
| 7 | + "type" : "object", |
| 8 | + "additionalProperties" : false, |
| 9 | + "properties" : { |
| 10 | + "Key" : { |
| 11 | + "type" : "string", |
| 12 | + "description" : "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", |
| 13 | + "minLength" : 1, |
| 14 | + "maxLength" : 128 |
| 15 | + }, |
| 16 | + "Value" : { |
| 17 | + "type" : "string", |
| 18 | + "description" : "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", |
| 19 | + "minLength" : 0, |
| 20 | + "maxLength" : 256 |
| 21 | + } |
| 22 | + }, |
| 23 | + "required" : [ "Value", "Key" ] |
| 24 | + }, |
| 25 | + "MultitrackInputConfiguration" : { |
| 26 | + "type" : "object", |
| 27 | + "additionalProperties" : false, |
| 28 | + "properties" : { |
| 29 | + "Enabled" : { |
| 30 | + "description" : "Indicates whether multitrack input is enabled. Can be set to true only if channel type is STANDARD. Setting enabled to true with any other channel type will cause an exception. If true, then policy, maximumResolution, and containerFormat are required, and containerFormat must be set to FRAGMENTED_MP4. Default: false.", |
| 31 | + "default" : false, |
| 32 | + "type" : "boolean" |
| 33 | + }, |
| 34 | + "MaximumResolution" : { |
| 35 | + "description" : "Maximum resolution for multitrack input. Required if enabled is true.", |
| 36 | + "type" : "string", |
| 37 | + "enum" : [ "SD", "HD", "FULL_HD" ] |
| 38 | + }, |
| 39 | + "Policy" : { |
| 40 | + "description" : "Indicates whether multitrack input is allowed or required. Required if enabled is true.", |
| 41 | + "type" : "string", |
| 42 | + "enum" : [ "ALLOW", "REQUIRE" ] |
| 43 | + } |
| 44 | + } |
| 45 | + } |
| 46 | + }, |
| 47 | + "properties" : { |
| 48 | + "Arn" : { |
| 49 | + "description" : "Channel ARN is automatically generated on creation and assigned as the unique identifier.", |
| 50 | + "type" : "string", |
| 51 | + "pattern" : "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$", |
| 52 | + "minLength" : 1, |
| 53 | + "maxLength" : 128 |
| 54 | + }, |
| 55 | + "Name" : { |
| 56 | + "description" : "Channel", |
| 57 | + "type" : "string", |
| 58 | + "minLength" : 0, |
| 59 | + "maxLength" : 128, |
| 60 | + "pattern" : "^[a-zA-Z0-9-_]*$", |
| 61 | + "default" : "-" |
| 62 | + }, |
| 63 | + "Authorized" : { |
| 64 | + "description" : "Whether the channel is authorized.", |
| 65 | + "type" : "boolean", |
| 66 | + "default" : false |
| 67 | + }, |
| 68 | + "InsecureIngest" : { |
| 69 | + "description" : "Whether the channel allows insecure ingest.", |
| 70 | + "type" : "boolean", |
| 71 | + "default" : false |
| 72 | + }, |
| 73 | + "LatencyMode" : { |
| 74 | + "description" : "Channel latency mode.", |
| 75 | + "type" : "string", |
| 76 | + "enum" : [ "NORMAL", "LOW" ], |
| 77 | + "default" : "LOW" |
| 78 | + }, |
| 79 | + "Type" : { |
| 80 | + "description" : "Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.", |
| 81 | + "type" : "string", |
| 82 | + "enum" : [ "STANDARD", "BASIC", "ADVANCED_SD", "ADVANCED_HD" ], |
| 83 | + "default" : "STANDARD" |
| 84 | + }, |
| 85 | + "Tags" : { |
| 86 | + "description" : "A list of key-value pairs that contain metadata for the asset model.", |
| 87 | + "type" : "array", |
| 88 | + "uniqueItems" : true, |
| 89 | + "insertionOrder" : false, |
| 90 | + "maxItems" : 50, |
| 91 | + "items" : { |
| 92 | + "$ref" : "#/definitions/Tag" |
| 93 | + } |
| 94 | + }, |
| 95 | + "PlaybackUrl" : { |
| 96 | + "description" : "Channel Playback URL.", |
| 97 | + "type" : "string" |
| 98 | + }, |
| 99 | + "IngestEndpoint" : { |
| 100 | + "description" : "Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.", |
| 101 | + "type" : "string" |
| 102 | + }, |
| 103 | + "RecordingConfigurationArn" : { |
| 104 | + "description" : "Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: \"\" (recording is disabled).", |
| 105 | + "type" : "string", |
| 106 | + "default" : "", |
| 107 | + "pattern" : "^$|arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+$", |
| 108 | + "minLength" : 0, |
| 109 | + "maxLength" : 128 |
| 110 | + }, |
| 111 | + "Preset" : { |
| 112 | + "description" : "Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").", |
| 113 | + "type" : "string", |
| 114 | + "enum" : [ "", "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY" ] |
| 115 | + }, |
| 116 | + "MultitrackInputConfiguration" : { |
| 117 | + "$ref" : "#/definitions/MultitrackInputConfiguration" |
| 118 | + }, |
| 119 | + "ContainerFormat" : { |
| 120 | + "description" : "Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.", |
| 121 | + "type" : "string", |
| 122 | + "default" : "TS", |
| 123 | + "enum" : [ "TS", "FRAGMENTED_MP4" ] |
| 124 | + } |
| 125 | + }, |
| 126 | + "additionalProperties" : false, |
| 127 | + "required" : [ ], |
| 128 | + "tagging" : { |
| 129 | + "taggable" : true, |
| 130 | + "tagOnCreate" : true, |
| 131 | + "tagUpdatable" : true, |
| 132 | + "cloudFormationSystemTags" : false, |
| 133 | + "tagProperty" : "/properties/Tags", |
| 134 | + "permissions" : [ "ivs:TagResource", "ivs:UntagResource", "ivs:ListTagsForResource" ] |
| 135 | + }, |
| 136 | + "readOnlyProperties" : [ "/properties/Arn", "/properties/PlaybackUrl", "/properties/IngestEndpoint" ], |
| 137 | + "primaryIdentifier" : [ "/properties/Arn" ], |
| 138 | + "handlers" : { |
| 139 | + "create" : { |
| 140 | + "permissions" : [ "ivs:CreateChannel", "ivs:TagResource" ] |
| 141 | + }, |
| 142 | + "read" : { |
| 143 | + "permissions" : [ "ivs:GetChannel", "ivs:ListTagsForResource" ] |
| 144 | + }, |
| 145 | + "update" : { |
| 146 | + "permissions" : [ "ivs:GetChannel", "ivs:UpdateChannel", "ivs:TagResource", "ivs:UntagResource", "ivs:ListTagsForResource" ] |
| 147 | + }, |
| 148 | + "delete" : { |
| 149 | + "permissions" : [ "ivs:DeleteChannel", "ivs:UntagResource" ] |
| 150 | + }, |
| 151 | + "list" : { |
| 152 | + "permissions" : [ "ivs:ListChannels", "ivs:ListTagsForResource" ] |
| 153 | + } |
| 154 | + } |
| 155 | +} |
0 commit comments