Skip to content
v2.276.0

CfnDestinationEndpointProps Struct Added in v2.276.0 ​

Properties for defining a CfnDestinationEndpoint.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const cfnDestinationEndpointProps: mediaconnect.CfnDestinationEndpointProps = {
  configuration: {
    routerInput: {
      routerInputArn: 'routerInputArn',
    },
    standard: {
      destinationNetworkingConfiguration: {
        public: {
          destinationAllowRules: [{
            cidr: 'cidr',
          }],
        },
        vpc: {
          securityGroupIds: ['securityGroupIds'],
          subnetId: 'subnetId',
        },
      },
      name: 'name',
      protocolConfiguration: {
        rist: {
          destinationAddress: 'destinationAddress',
          destinationIngestPort: 123,
        },
        rtp: {
          destinationAddress: 'destinationAddress',
          destinationIngestPort: 123,
          forwardErrorCorrectionState: 'forwardErrorCorrectionState',
        },
        srtCaller: {
          minimumLatencyMilliseconds: 123,
          sourceListenerPort: 123,

          // the properties below are optional
          encryptionPassphrase: {
            secretArn: 'secretArn',
          },
        },
        srtListener: {
          destinationAddress: 'destinationAddress',
          destinationIngestPort: 123,
          minimumLatencyMilliseconds: 123,

          // the properties below are optional
          encryptionPassphrase: {
            secretArn: 'secretArn',
          },
          streamId: 'streamId',
        },
      },

      // the properties below are optional
      destinationNetworkingType: 'destinationNetworkingType',
      protocol: 'protocol',
    },
  },

  // the properties below are optional
  description: 'description',
  regionName: 'regionName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

cfn_destination_endpoint_props = mediaconnect.CfnDestinationEndpointProps(
    configuration=mediaconnect.CfnDestinationEndpoint.DestinationEndpointConfigurationProperty(
        router_input=mediaconnect.CfnDestinationEndpoint.RouterInputDestinationEndpointConfigurationProperty(
            router_input_arn="routerInputArn"
        ),
        standard=mediaconnect.CfnDestinationEndpoint.StandardDestinationEndpointConfigurationProperty(
            destination_networking_configuration=mediaconnect.CfnDestinationEndpoint.StandardDestinationEndpointNetworkingConfigurationProperty(
                public=mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationProperty(
                    destination_allow_rules=[mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty(
                        cidr="cidr"
                    )]
                ),
                vpc=mediaconnect.CfnDestinationEndpoint.VpcDestinationEndpointNetworkingConfigurationProperty(
                    security_group_ids=["securityGroupIds"],
                    subnet_id="subnetId"
                )
            ),
            name="name",
            protocol_configuration=mediaconnect.CfnDestinationEndpoint.StandardDestinationEndpointProtocolConfigurationProperty(
                rist=mediaconnect.CfnDestinationEndpoint.RistStandardDestinationEndpointConfigurationProperty(
                    destination_address="destinationAddress",
                    destination_ingest_port=123
                ),
                rtp=mediaconnect.CfnDestinationEndpoint.RtpStandardDestinationEndpointConfigurationProperty(
                    destination_address="destinationAddress",
                    destination_ingest_port=123,
                    forward_error_correction_state="forwardErrorCorrectionState"
                ),
                srt_caller=mediaconnect.CfnDestinationEndpoint.SrtCallerStandardDestinationEndpointConfigurationProperty(
                    minimum_latency_milliseconds=123,
                    source_listener_port=123,

                    # the properties below are optional
                    encryption_passphrase=mediaconnect.CfnDestinationEndpoint.EndpointEncryptionSecretConfigurationProperty(
                        secret_arn="secretArn"
                    )
                ),
                srt_listener=mediaconnect.CfnDestinationEndpoint.SrtListenerStandardDestinationEndpointConfigurationProperty(
                    destination_address="destinationAddress",
                    destination_ingest_port=123,
                    minimum_latency_milliseconds=123,

                    # the properties below are optional
                    encryption_passphrase=mediaconnect.CfnDestinationEndpoint.EndpointEncryptionSecretConfigurationProperty(
                        secret_arn="secretArn"
                    ),
                    stream_id="streamId"
                )
            ),

            # the properties below are optional
            destination_networking_type="destinationNetworkingType",
            protocol="protocol"
        )
    ),

    # the properties below are optional
    description="description",
    region_name="regionName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.*;

CfnDestinationEndpointProps cfnDestinationEndpointProps = CfnDestinationEndpointProps.builder()
        .configuration(DestinationEndpointConfigurationProperty.builder()
                .routerInput(RouterInputDestinationEndpointConfigurationProperty.builder()
                        .routerInputArn("routerInputArn")
                        .build())
                .standard(StandardDestinationEndpointConfigurationProperty.builder()
                        .destinationNetworkingConfiguration(StandardDestinationEndpointNetworkingConfigurationProperty.builder()
                                .public(PublicDestinationEndpointNetworkingConfigurationProperty.builder()
                                        .destinationAllowRules(List.of(PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty.builder()
                                                .cidr("cidr")
                                                .build()))
                                        .build())
                                .vpc(VpcDestinationEndpointNetworkingConfigurationProperty.builder()
                                        .securityGroupIds(List.of("securityGroupIds"))
                                        .subnetId("subnetId")
                                        .build())
                                .build())
                        .name("name")
                        .protocolConfiguration(StandardDestinationEndpointProtocolConfigurationProperty.builder()
                                .rist(RistStandardDestinationEndpointConfigurationProperty.builder()
                                        .destinationAddress("destinationAddress")
                                        .destinationIngestPort(123)
                                        .build())
                                .rtp(RtpStandardDestinationEndpointConfigurationProperty.builder()
                                        .destinationAddress("destinationAddress")
                                        .destinationIngestPort(123)
                                        .forwardErrorCorrectionState("forwardErrorCorrectionState")
                                        .build())
                                .srtCaller(SrtCallerStandardDestinationEndpointConfigurationProperty.builder()
                                        .minimumLatencyMilliseconds(123)
                                        .sourceListenerPort(123)

                                        // the properties below are optional
                                        .encryptionPassphrase(EndpointEncryptionSecretConfigurationProperty.builder()
                                                .secretArn("secretArn")
                                                .build())
                                        .build())
                                .srtListener(SrtListenerStandardDestinationEndpointConfigurationProperty.builder()
                                        .destinationAddress("destinationAddress")
                                        .destinationIngestPort(123)
                                        .minimumLatencyMilliseconds(123)

                                        // the properties below are optional
                                        .encryptionPassphrase(EndpointEncryptionSecretConfigurationProperty.builder()
                                                .secretArn("secretArn")
                                                .build())
                                        .streamId("streamId")
                                        .build())
                                .build())

                        // the properties below are optional
                        .destinationNetworkingType("destinationNetworkingType")
                        .protocol("protocol")
                        .build())
                .build())

        // the properties below are optional
        .description("description")
        .regionName("regionName")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var cfnDestinationEndpointProps = new CfnDestinationEndpointProps {
    Configuration = new DestinationEndpointConfigurationProperty {
        RouterInput = new RouterInputDestinationEndpointConfigurationProperty {
            RouterInputArn = "routerInputArn"
        },
        Standard = new StandardDestinationEndpointConfigurationProperty {
            DestinationNetworkingConfiguration = new StandardDestinationEndpointNetworkingConfigurationProperty {
                Public = new PublicDestinationEndpointNetworkingConfigurationProperty {
                    DestinationAllowRules = new [] { new PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty {
                        Cidr = "cidr"
                    } }
                },
                Vpc = new VpcDestinationEndpointNetworkingConfigurationProperty {
                    SecurityGroupIds = new [] { "securityGroupIds" },
                    SubnetId = "subnetId"
                }
            },
            Name = "name",
            ProtocolConfiguration = new StandardDestinationEndpointProtocolConfigurationProperty {
                Rist = new RistStandardDestinationEndpointConfigurationProperty {
                    DestinationAddress = "destinationAddress",
                    DestinationIngestPort = 123
                },
                Rtp = new RtpStandardDestinationEndpointConfigurationProperty {
                    DestinationAddress = "destinationAddress",
                    DestinationIngestPort = 123,
                    ForwardErrorCorrectionState = "forwardErrorCorrectionState"
                },
                SrtCaller = new SrtCallerStandardDestinationEndpointConfigurationProperty {
                    MinimumLatencyMilliseconds = 123,
                    SourceListenerPort = 123,

                    // the properties below are optional
                    EncryptionPassphrase = new EndpointEncryptionSecretConfigurationProperty {
                        SecretArn = "secretArn"
                    }
                },
                SrtListener = new SrtListenerStandardDestinationEndpointConfigurationProperty {
                    DestinationAddress = "destinationAddress",
                    DestinationIngestPort = 123,
                    MinimumLatencyMilliseconds = 123,

                    // the properties below are optional
                    EncryptionPassphrase = new EndpointEncryptionSecretConfigurationProperty {
                        SecretArn = "secretArn"
                    },
                    StreamId = "streamId"
                }
            },

            // the properties below are optional
            DestinationNetworkingType = "destinationNetworkingType",
            Protocol = "protocol"
        }
    },

    // the properties below are optional
    Description = "description",
    RegionName = "regionName",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnDestinationEndpointProps := &CfnDestinationEndpointProps{
	Configuration: &DestinationEndpointConfigurationProperty{
		RouterInput: &RouterInputDestinationEndpointConfigurationProperty{
			RouterInputArn: jsii.String("routerInputArn"),
		},
		Standard: &StandardDestinationEndpointConfigurationProperty{
			DestinationNetworkingConfiguration: &StandardDestinationEndpointNetworkingConfigurationProperty{
				Public: &PublicDestinationEndpointNetworkingConfigurationProperty{
					DestinationAllowRules: []interface{}{
						&PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty{
							Cidr: jsii.String("cidr"),
						},
					},
				},
				Vpc: &VpcDestinationEndpointNetworkingConfigurationProperty{
					SecurityGroupIds: []*string{
						jsii.String("securityGroupIds"),
					},
					SubnetId: jsii.String("subnetId"),
				},
			},
			Name: jsii.String("name"),
			ProtocolConfiguration: &StandardDestinationEndpointProtocolConfigurationProperty{
				Rist: &RistStandardDestinationEndpointConfigurationProperty{
					DestinationAddress: jsii.String("destinationAddress"),
					DestinationIngestPort: jsii.Number(123),
				},
				Rtp: &RtpStandardDestinationEndpointConfigurationProperty{
					DestinationAddress: jsii.String("destinationAddress"),
					DestinationIngestPort: jsii.Number(123),
					ForwardErrorCorrectionState: jsii.String("forwardErrorCorrectionState"),
				},
				SrtCaller: &SrtCallerStandardDestinationEndpointConfigurationProperty{
					MinimumLatencyMilliseconds: jsii.Number(123),
					SourceListenerPort: jsii.Number(123),

					// the properties below are optional
					EncryptionPassphrase: &EndpointEncryptionSecretConfigurationProperty{
						SecretArn: jsii.String("secretArn"),
					},
				},
				SrtListener: &SrtListenerStandardDestinationEndpointConfigurationProperty{
					DestinationAddress: jsii.String("destinationAddress"),
					DestinationIngestPort: jsii.Number(123),
					MinimumLatencyMilliseconds: jsii.Number(123),

					// the properties below are optional
					EncryptionPassphrase: &EndpointEncryptionSecretConfigurationProperty{
						SecretArn: jsii.String("secretArn"),
					},
					StreamId: jsii.String("streamId"),
				},
			},

			// the properties below are optional
			DestinationNetworkingType: jsii.String("destinationNetworkingType"),
			Protocol: jsii.String("protocol"),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	RegionName: jsii.String("regionName"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

configurationIResolvable | CfnDestinationEndpoint.DestinationEndpointConfigurationPropertyconfigurationtyping.Union[IResolvable, DestinationEndpointConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{}required#
The configuration settings for a destination endpoint.

This is a union type, so exactly one of its members is set, depending on the type of the destination endpoint.

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the destination endpoint.
regionNameoptionalstringregion_nameoptionalstrregionNameoptionalStringRegionNameoptionalstringRegionNameoptional*string#
The name of the Amazon Web Services Region in which the destination endpoint is located.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags associated with the destination endpoint.

Each tag is a key-value pair.