Documentation ¶
Index ¶
- func NetworkInterface_IsConstruct(x interface{}) *bool
- func NetworkInterface_TfResourceType() *string
- func NewNetworkInterfaceAttachmentList_Override(n NetworkInterfaceAttachmentList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewNetworkInterfaceAttachmentOutputReference_Override(n NetworkInterfaceAttachmentOutputReference, ...)
- func NewNetworkInterface_Override(n NetworkInterface, scope constructs.Construct, id *string, ...)
- type NetworkInterface
- type NetworkInterfaceAttachment
- type NetworkInterfaceAttachmentList
- type NetworkInterfaceAttachmentOutputReference
- type NetworkInterfaceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetworkInterface_IsConstruct ¶
func NetworkInterface_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NetworkInterface_TfResourceType ¶
func NetworkInterface_TfResourceType() *string
func NewNetworkInterfaceAttachmentList_Override ¶
func NewNetworkInterfaceAttachmentList_Override(n NetworkInterfaceAttachmentList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNetworkInterfaceAttachmentOutputReference_Override ¶
func NewNetworkInterfaceAttachmentOutputReference_Override(n NetworkInterfaceAttachmentOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNetworkInterface_Override ¶
func NewNetworkInterface_Override(n NetworkInterface, scope constructs.Construct, id *string, config *NetworkInterfaceConfig)
Create a new {@link https://www.terraform.io/docs/providers/aws/r/network_interface aws_network_interface} Resource.
Types ¶
type NetworkInterface ¶
type NetworkInterface interface { cdktf.TerraformResource Arn() *string Attachment() NetworkInterfaceAttachmentList AttachmentInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InterfaceType() *string SetInterfaceType(val *string) InterfaceTypeInput() *string Ipv4PrefixCount() *float64 SetIpv4PrefixCount(val *float64) Ipv4PrefixCountInput() *float64 Ipv4Prefixes() *[]*string SetIpv4Prefixes(val *[]*string) Ipv4PrefixesInput() *[]*string Ipv6AddressCount() *float64 SetIpv6AddressCount(val *float64) Ipv6AddressCountInput() *float64 Ipv6Addresses() *[]*string SetIpv6Addresses(val *[]*string) Ipv6AddressesInput() *[]*string Ipv6AddressList() *[]*string SetIpv6AddressList(val *[]*string) Ipv6AddressListEnabled() interface{} SetIpv6AddressListEnabled(val interface{}) Ipv6AddressListEnabledInput() interface{} Ipv6AddressListInput() *[]*string Ipv6PrefixCount() *float64 SetIpv6PrefixCount(val *float64) Ipv6PrefixCountInput() *float64 Ipv6Prefixes() *[]*string SetIpv6Prefixes(val *[]*string) Ipv6PrefixesInput() *[]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MacAddress() *string // The tree node. Node() constructs.Node OutpostArn() *string OwnerId() *string PrivateDnsName() *string PrivateIp() *string SetPrivateIp(val *string) PrivateIpInput() *string PrivateIpList() *[]*string SetPrivateIpList(val *[]*string) PrivateIpListEnabled() interface{} SetPrivateIpListEnabled(val interface{}) PrivateIpListEnabledInput() interface{} PrivateIpListInput() *[]*string PrivateIps() *[]*string SetPrivateIps(val *[]*string) PrivateIpsCount() *float64 SetPrivateIpsCount(val *float64) PrivateIpsCountInput() *float64 PrivateIpsInput() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SecurityGroups() *[]*string SetSecurityGroups(val *[]*string) SecurityGroupsInput() *[]*string SourceDestCheck() interface{} SetSourceDestCheck(val interface{}) SourceDestCheckInput() interface{} SubnetId() *string SetSubnetId(val *string) SubnetIdInput() *string Tags() *map[string]*string SetTags(val *map[string]*string) TagsAll() *map[string]*string SetTagsAll(val *map[string]*string) TagsAllInput() *map[string]*string TagsInput() *map[string]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAttachment(value interface{}) ResetAttachment() ResetDescription() ResetId() ResetInterfaceType() ResetIpv4PrefixCount() ResetIpv4Prefixes() ResetIpv6AddressCount() ResetIpv6Addresses() ResetIpv6AddressList() ResetIpv6AddressListEnabled() ResetIpv6PrefixCount() ResetIpv6Prefixes() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrivateIp() ResetPrivateIpList() ResetPrivateIpListEnabled() ResetPrivateIps() ResetPrivateIpsCount() ResetSecurityGroups() ResetSourceDestCheck() ResetTags() ResetTagsAll() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/aws/r/network_interface aws_network_interface}.
func NewNetworkInterface ¶
func NewNetworkInterface(scope constructs.Construct, id *string, config *NetworkInterfaceConfig) NetworkInterface
Create a new {@link https://www.terraform.io/docs/providers/aws/r/network_interface aws_network_interface} Resource.
type NetworkInterfaceAttachment ¶
type NetworkInterfaceAttachment struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#device_index NetworkInterface#device_index}. DeviceIndex *float64 `field:"required" json:"deviceIndex" yaml:"deviceIndex"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#instance NetworkInterface#instance}. Instance *string `field:"required" json:"instance" yaml:"instance"` }
type NetworkInterfaceAttachmentList ¶
type NetworkInterfaceAttachmentList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) NetworkInterfaceAttachmentOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewNetworkInterfaceAttachmentList ¶
func NewNetworkInterfaceAttachmentList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NetworkInterfaceAttachmentList
type NetworkInterfaceAttachmentOutputReference ¶
type NetworkInterfaceAttachmentOutputReference interface { cdktf.ComplexObject AttachmentId() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DeviceIndex() *float64 SetDeviceIndex(val *float64) DeviceIndexInput() *float64 // Experimental. Fqn() *string Instance() *string SetInstance(val *string) InstanceInput() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewNetworkInterfaceAttachmentOutputReference ¶
func NewNetworkInterfaceAttachmentOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NetworkInterfaceAttachmentOutputReference
type NetworkInterfaceConfig ¶
type NetworkInterfaceConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#subnet_id NetworkInterface#subnet_id}. SubnetId *string `field:"required" json:"subnetId" yaml:"subnetId"` // attachment block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#attachment NetworkInterface#attachment} Attachment interface{} `field:"optional" json:"attachment" yaml:"attachment"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#description NetworkInterface#description}. Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#id NetworkInterface#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#interface_type NetworkInterface#interface_type}. InterfaceType *string `field:"optional" json:"interfaceType" yaml:"interfaceType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv4_prefix_count NetworkInterface#ipv4_prefix_count}. Ipv4PrefixCount *float64 `field:"optional" json:"ipv4PrefixCount" yaml:"ipv4PrefixCount"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv4_prefixes NetworkInterface#ipv4_prefixes}. Ipv4Prefixes *[]*string `field:"optional" json:"ipv4Prefixes" yaml:"ipv4Prefixes"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv6_address_count NetworkInterface#ipv6_address_count}. Ipv6AddressCount *float64 `field:"optional" json:"ipv6AddressCount" yaml:"ipv6AddressCount"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv6_addresses NetworkInterface#ipv6_addresses}. Ipv6Addresses *[]*string `field:"optional" json:"ipv6Addresses" yaml:"ipv6Addresses"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv6_address_list NetworkInterface#ipv6_address_list}. Ipv6AddressList *[]*string `field:"optional" json:"ipv6AddressList" yaml:"ipv6AddressList"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv6_address_list_enabled NetworkInterface#ipv6_address_list_enabled}. Ipv6AddressListEnabled interface{} `field:"optional" json:"ipv6AddressListEnabled" yaml:"ipv6AddressListEnabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv6_prefix_count NetworkInterface#ipv6_prefix_count}. Ipv6PrefixCount *float64 `field:"optional" json:"ipv6PrefixCount" yaml:"ipv6PrefixCount"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#ipv6_prefixes NetworkInterface#ipv6_prefixes}. Ipv6Prefixes *[]*string `field:"optional" json:"ipv6Prefixes" yaml:"ipv6Prefixes"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#private_ip NetworkInterface#private_ip}. PrivateIp *string `field:"optional" json:"privateIp" yaml:"privateIp"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#private_ip_list NetworkInterface#private_ip_list}. PrivateIpList *[]*string `field:"optional" json:"privateIpList" yaml:"privateIpList"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#private_ip_list_enabled NetworkInterface#private_ip_list_enabled}. PrivateIpListEnabled interface{} `field:"optional" json:"privateIpListEnabled" yaml:"privateIpListEnabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#private_ips NetworkInterface#private_ips}. PrivateIps *[]*string `field:"optional" json:"privateIps" yaml:"privateIps"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#private_ips_count NetworkInterface#private_ips_count}. PrivateIpsCount *float64 `field:"optional" json:"privateIpsCount" yaml:"privateIpsCount"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#security_groups NetworkInterface#security_groups}. SecurityGroups *[]*string `field:"optional" json:"securityGroups" yaml:"securityGroups"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#source_dest_check NetworkInterface#source_dest_check}. SourceDestCheck interface{} `field:"optional" json:"sourceDestCheck" yaml:"sourceDestCheck"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#tags NetworkInterface#tags}. Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/network_interface#tags_all NetworkInterface#tags_all}. TagsAll *map[string]*string `field:"optional" json:"tagsAll" yaml:"tagsAll"` }
Source Files ¶
- networkinterface.go
- networkinterface_NetworkInterface.go
- networkinterface_NetworkInterfaceAttachment.go
- networkinterface_NetworkInterfaceAttachmentList.go
- networkinterface_NetworkInterfaceAttachmentList__runtime_type_checks.go
- networkinterface_NetworkInterfaceAttachmentOutputReference.go
- networkinterface_NetworkInterfaceAttachmentOutputReference__runtime_type_checks.go
- networkinterface_NetworkInterfaceConfig.go
- networkinterface_NetworkInterface__runtime_type_checks.go