We recommend new projects start with resources from the AWS provider.
aws-native.cloudfront.VpcOrigin
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
An Amazon CloudFront VPC origin.
Create VpcOrigin Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcOrigin(name: string, args: VpcOriginArgs, opts?: CustomResourceOptions);
@overload
def VpcOrigin(resource_name: str,
args: VpcOriginArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcOrigin(resource_name: str,
opts: Optional[ResourceOptions] = None,
vpc_origin_endpoint_config: Optional[VpcOriginEndpointConfigArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewVpcOrigin(ctx *Context, name string, args VpcOriginArgs, opts ...ResourceOption) (*VpcOrigin, error)
public VpcOrigin(string name, VpcOriginArgs args, CustomResourceOptions? opts = null)
public VpcOrigin(String name, VpcOriginArgs args)
public VpcOrigin(String name, VpcOriginArgs args, CustomResourceOptions options)
type: aws-native:cloudfront:VpcOrigin
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VpcOriginArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. VpcOriginArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VpcOriginArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VpcOriginArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. VpcOriginArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpcOrigin Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcOrigin resource accepts the following input properties:
- Vpc
Origin Endpoint Config This property is required. Pulumi.Aws Native. Cloud Front. Inputs. Vpc Origin Endpoint Config - The VPC origin endpoint configuration.
- List<Pulumi.
Aws Native. Inputs. Tag> - A complex type that contains zero or more
Tag
elements.
- Vpc
Origin Endpoint Config This property is required. VpcOrigin Endpoint Config Args - The VPC origin endpoint configuration.
- Tag
Args - A complex type that contains zero or more
Tag
elements.
- vpc
Origin Endpoint Config This property is required. VpcOrigin Endpoint Config - The VPC origin endpoint configuration.
- List<Tag>
- A complex type that contains zero or more
Tag
elements.
- vpc
Origin Endpoint Config This property is required. VpcOrigin Endpoint Config - The VPC origin endpoint configuration.
- Tag[]
- A complex type that contains zero or more
Tag
elements.
- vpc_
origin_ endpoint_ config This property is required. VpcOrigin Endpoint Config Args - The VPC origin endpoint configuration.
- Sequence[Tag
Args] - A complex type that contains zero or more
Tag
elements.
- vpc
Origin Endpoint Config This property is required. Property Map - The VPC origin endpoint configuration.
- List<Property Map>
- A complex type that contains zero or more
Tag
elements.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcOrigin resource produces the following output properties:
- Arn string
- The VPC origin ARN.
- Aws
Id string - The VPC origin ID.
- Created
Time string - The VPC origin created time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - The VPC origin last modified time.
- Status string
- The VPC origin status.
- Arn string
- The VPC origin ARN.
- Aws
Id string - The VPC origin ID.
- Created
Time string - The VPC origin created time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - The VPC origin last modified time.
- Status string
- The VPC origin status.
- arn String
- The VPC origin ARN.
- aws
Id String - The VPC origin ID.
- created
Time String - The VPC origin created time.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - The VPC origin last modified time.
- status String
- The VPC origin status.
- arn string
- The VPC origin ARN.
- aws
Id string - The VPC origin ID.
- created
Time string - The VPC origin created time.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringTime - The VPC origin last modified time.
- status string
- The VPC origin status.
- arn str
- The VPC origin ARN.
- aws_
id str - The VPC origin ID.
- created_
time str - The VPC origin created time.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strtime - The VPC origin last modified time.
- status str
- The VPC origin status.
- arn String
- The VPC origin ARN.
- aws
Id String - The VPC origin ID.
- created
Time String - The VPC origin created time.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - The VPC origin last modified time.
- status String
- The VPC origin status.
Supporting Types
Tag, TagArgs
VpcOriginEndpointConfig, VpcOriginEndpointConfigArgs
- Arn
This property is required. string - The ARN of the CloudFront VPC origin endpoint configuration.
- Name
This property is required. string - The name of the CloudFront VPC origin endpoint configuration.
- Http
Port int - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
. - Https
Port int - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
. - Origin
Protocol stringPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- Origin
Ssl List<string>Protocols
- Arn
This property is required. string - The ARN of the CloudFront VPC origin endpoint configuration.
- Name
This property is required. string - The name of the CloudFront VPC origin endpoint configuration.
- Http
Port int - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
. - Https
Port int - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
. - Origin
Protocol stringPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- Origin
Ssl []stringProtocols
- arn
This property is required. String - The ARN of the CloudFront VPC origin endpoint configuration.
- name
This property is required. String - The name of the CloudFront VPC origin endpoint configuration.
- http
Port Integer - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
. - https
Port Integer - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
. - origin
Protocol StringPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- origin
Ssl List<String>Protocols
- arn
This property is required. string - The ARN of the CloudFront VPC origin endpoint configuration.
- name
This property is required. string - The name of the CloudFront VPC origin endpoint configuration.
- http
Port number - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
. - https
Port number - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
. - origin
Protocol stringPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- origin
Ssl string[]Protocols
- arn
This property is required. str - The ARN of the CloudFront VPC origin endpoint configuration.
- name
This property is required. str - The name of the CloudFront VPC origin endpoint configuration.
- http_
port int - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
. - https_
port int - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
. - origin_
protocol_ strpolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- origin_
ssl_ Sequence[str]protocols
- arn
This property is required. String - The ARN of the CloudFront VPC origin endpoint configuration.
- name
This property is required. String - The name of the CloudFront VPC origin endpoint configuration.
- http
Port Number - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
. - https
Port Number - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
. - origin
Protocol StringPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- origin
Ssl List<String>Protocols
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.