@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.913Z") @Stability(value=Stable) public class CfnInputSecurityGroup extends CfnResource implements IInspectable
The AWS::MediaLive::InputSecurityGroup is a MediaLive resource type that creates an input security group.
A MediaLive input security group is associated with a MediaLive input. The input security group is an "allow list" of IP addresses that controls whether an external IP address can push content to the associated MediaLive input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;
Object tags;
CfnInputSecurityGroup cfnInputSecurityGroup = CfnInputSecurityGroup.Builder.create(this, "MyCfnInputSecurityGroup")
.tags(tags)
.whitelistRules(List.of(InputWhitelistRuleCidrProperty.builder()
.cidr("cidr")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnInputSecurityGroup.Builder
A fluent builder for
CfnInputSecurityGroup. |
static interface |
CfnInputSecurityGroup.InputWhitelistRuleCidrProperty
An IPv4 CIDR range to include in this input security group.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnInputSecurityGroup(software.constructs.Construct scope,
String id)
Create a new `AWS::MediaLive::InputSecurityGroup`.
|
|
CfnInputSecurityGroup(software.constructs.Construct scope,
String id,
CfnInputSecurityGroupProps props)
Create a new `AWS::MediaLive::InputSecurityGroup`.
|
protected |
CfnInputSecurityGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnInputSecurityGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The ARN of the MediaLive input security group.
|
protected Map<String,Object> |
getCfnProperties() |
TagManager |
getTags()
A collection of tags for this input security group.
|
Object |
getWhitelistRules()
The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setWhitelistRules(IResolvable value)
The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.
|
void |
setWhitelistRules(List<Object> value)
The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnInputSecurityGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnInputSecurityGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnInputSecurityGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnInputSecurityGroupProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnInputSecurityGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
For example: arn:aws:medialive:us-west-1:111122223333:medialive:inputSecurityGroup:1234567
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Each tag is a key-value pair.
@Stability(value=Stable) @Nullable public Object getWhitelistRules()
@Stability(value=Stable)
public void setWhitelistRules(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.