AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Source

import "github.com/aws/aws-sdk-go/service/mediaconnect"

type Source struct { Decryption *Encryption `locationName:"decryption" type:"structure"` Description *string `locationName:"description" type:"string"` EntitlementArn *string `locationName:"entitlementArn" type:"string"` IngestIp *string `locationName:"ingestIp" type:"string"` IngestPort *int64 `locationName:"ingestPort" type:"integer"` Name *string `locationName:"name" type:"string" required:"true"` SourceArn *string `locationName:"sourceArn" type:"string" required:"true"` Transport *Transport `locationName:"transport" type:"structure"` WhitelistCidr *string `locationName:"whitelistCidr" type:"string"` }

The settings for the source of the flow.

Decryption

Information about the encryption of the flow.

Description

Type: *string

A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

EntitlementArn

Type: *string

The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

IngestIp

Type: *string

The IP address that the flow will be listening on for incoming content.

IngestPort

Type: *int64

The port that the flow will be listening on for incoming content.

Name

Type: *string

The name of the source.

Name is a required field

SourceArn

Type: *string

The ARN of the source.

SourceArn is a required field

Transport

Attributes related to the transport stream that are used in a source or output.

WhitelistCidr

Type: *string

The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

Method

GoString

func (s Source) GoString() string

GoString returns the string representation

SetDecryption

func (s *Source) SetDecryption(v *Encryption) *Source

SetDecryption sets the Decryption field's value.

SetDescription

func (s *Source) SetDescription(v string) *Source

SetDescription sets the Description field's value.

SetEntitlementArn

func (s *Source) SetEntitlementArn(v string) *Source

SetEntitlementArn sets the EntitlementArn field's value.

SetIngestIp

func (s *Source) SetIngestIp(v string) *Source

SetIngestIp sets the IngestIp field's value.

SetIngestPort

func (s *Source) SetIngestPort(v int64) *Source

SetIngestPort sets the IngestPort field's value.

SetName

func (s *Source) SetName(v string) *Source

SetName sets the Name field's value.

SetSourceArn

func (s *Source) SetSourceArn(v string) *Source

SetSourceArn sets the SourceArn field's value.

SetTransport

func (s *Source) SetTransport(v *Transport) *Source

SetTransport sets the Transport field's value.

SetWhitelistCidr

func (s *Source) SetWhitelistCidr(v string) *Source

SetWhitelistCidr sets the WhitelistCidr field's value.

String

func (s Source) String() string

String returns the string representation

On this page: