Documentation ¶
Overview ¶
A Pulumi component to deploy a static website to AWS
Index ¶
- func PkgVersion() (semver.Version, error)
- type CDNArgs
- type CDNArgsArgs
- func (CDNArgsArgs) ElementType() reflect.Type
- func (i CDNArgsArgs) ToCDNArgsOutput() CDNArgsOutput
- func (i CDNArgsArgs) ToCDNArgsOutputWithContext(ctx context.Context) CDNArgsOutput
- func (i CDNArgsArgs) ToCDNArgsPtrOutput() CDNArgsPtrOutput
- func (i CDNArgsArgs) ToCDNArgsPtrOutputWithContext(ctx context.Context) CDNArgsPtrOutput
- type CDNArgsInput
- type CDNArgsOutput
- func (o CDNArgsOutput) CloudfrontFunctionAssociations() cloudfront.DistributionOrderedCacheBehaviorFunctionAssociationArrayOutput
- func (CDNArgsOutput) ElementType() reflect.Type
- func (o CDNArgsOutput) ForwardedValues() cloudfront.DistributionDefaultCacheBehaviorForwardedValuesPtrOutput
- func (o CDNArgsOutput) LambdaFunctionAssociations() ...
- func (o CDNArgsOutput) ToCDNArgsOutput() CDNArgsOutput
- func (o CDNArgsOutput) ToCDNArgsOutputWithContext(ctx context.Context) CDNArgsOutput
- func (o CDNArgsOutput) ToCDNArgsPtrOutput() CDNArgsPtrOutput
- func (o CDNArgsOutput) ToCDNArgsPtrOutputWithContext(ctx context.Context) CDNArgsPtrOutput
- type CDNArgsPtrInput
- type CDNArgsPtrOutput
- func (o CDNArgsPtrOutput) CloudfrontFunctionAssociations() cloudfront.DistributionOrderedCacheBehaviorFunctionAssociationArrayOutput
- func (o CDNArgsPtrOutput) Elem() CDNArgsOutput
- func (CDNArgsPtrOutput) ElementType() reflect.Type
- func (o CDNArgsPtrOutput) ForwardedValues() cloudfront.DistributionDefaultCacheBehaviorForwardedValuesPtrOutput
- func (o CDNArgsPtrOutput) LambdaFunctionAssociations() ...
- func (o CDNArgsPtrOutput) ToCDNArgsPtrOutput() CDNArgsPtrOutput
- func (o CDNArgsPtrOutput) ToCDNArgsPtrOutputWithContext(ctx context.Context) CDNArgsPtrOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type PublicBucketPolicy
- type PublicBucketPolicyArgs
- type PublicBucketPolicyArray
- type PublicBucketPolicyArrayInput
- type PublicBucketPolicyArrayOutput
- func (PublicBucketPolicyArrayOutput) ElementType() reflect.Type
- func (o PublicBucketPolicyArrayOutput) Index(i pulumi.IntInput) PublicBucketPolicyOutput
- func (o PublicBucketPolicyArrayOutput) ToPublicBucketPolicyArrayOutput() PublicBucketPolicyArrayOutput
- func (o PublicBucketPolicyArrayOutput) ToPublicBucketPolicyArrayOutputWithContext(ctx context.Context) PublicBucketPolicyArrayOutput
- type PublicBucketPolicyInput
- type PublicBucketPolicyMap
- type PublicBucketPolicyMapInput
- type PublicBucketPolicyMapOutput
- func (PublicBucketPolicyMapOutput) ElementType() reflect.Type
- func (o PublicBucketPolicyMapOutput) MapIndex(k pulumi.StringInput) PublicBucketPolicyOutput
- func (o PublicBucketPolicyMapOutput) ToPublicBucketPolicyMapOutput() PublicBucketPolicyMapOutput
- func (o PublicBucketPolicyMapOutput) ToPublicBucketPolicyMapOutputWithContext(ctx context.Context) PublicBucketPolicyMapOutput
- type PublicBucketPolicyOutput
- func (PublicBucketPolicyOutput) ElementType() reflect.Type
- func (o PublicBucketPolicyOutput) OwnershipControls() s3.BucketOwnershipControlsOutput
- func (o PublicBucketPolicyOutput) PublicAccessBlock() s3.BucketPublicAccessBlockOutput
- func (o PublicBucketPolicyOutput) ToPublicBucketPolicyOutput() PublicBucketPolicyOutput
- func (o PublicBucketPolicyOutput) ToPublicBucketPolicyOutputWithContext(ctx context.Context) PublicBucketPolicyOutput
- type Website
- type WebsiteArgs
- type WebsiteArray
- type WebsiteArrayInput
- type WebsiteArrayOutput
- type WebsiteInput
- type WebsiteMap
- type WebsiteMapInput
- type WebsiteMapOutput
- type WebsiteOutput
- func (o WebsiteOutput) BucketName() pulumi.StringOutput
- func (o WebsiteOutput) BucketWebsiteURL() pulumi.StringOutput
- func (o WebsiteOutput) CdnDomainName() pulumi.StringPtrOutput
- func (o WebsiteOutput) CdnURL() pulumi.StringPtrOutput
- func (WebsiteOutput) ElementType() reflect.Type
- func (o WebsiteOutput) LogsBucketName() pulumi.StringPtrOutput
- func (o WebsiteOutput) ToWebsiteOutput() WebsiteOutput
- func (o WebsiteOutput) ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput
- func (o WebsiteOutput) WebsiteURL() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type CDNArgs ¶ added in v0.3.0
type CDNArgs struct { // A config block that triggers a cloudfront // function with specific actions. CloudfrontFunctionAssociations []cloudfront.DistributionOrderedCacheBehaviorFunctionAssociation `pulumi:"cloudfrontFunctionAssociations"` // The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers. ForwardedValues *cloudfront.DistributionDefaultCacheBehaviorForwardedValues `pulumi:"forwardedValues"` // A config block that triggers a lambda // function with specific actions. LambdaFunctionAssociations []cloudfront.DistributionOrderedCacheBehaviorLambdaFunctionAssociation `pulumi:"lambdaFunctionAssociations"` }
type CDNArgsArgs ¶ added in v0.3.0
type CDNArgsArgs struct { // A config block that triggers a cloudfront // function with specific actions. CloudfrontFunctionAssociations cloudfront.DistributionOrderedCacheBehaviorFunctionAssociationArrayInput `pulumi:"cloudfrontFunctionAssociations"` // The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers. ForwardedValues cloudfront.DistributionDefaultCacheBehaviorForwardedValuesPtrInput `pulumi:"forwardedValues"` // A config block that triggers a lambda // function with specific actions. LambdaFunctionAssociations cloudfront.DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput `pulumi:"lambdaFunctionAssociations"` }
func (CDNArgsArgs) ElementType ¶ added in v0.3.0
func (CDNArgsArgs) ElementType() reflect.Type
func (CDNArgsArgs) ToCDNArgsOutput ¶ added in v0.3.0
func (i CDNArgsArgs) ToCDNArgsOutput() CDNArgsOutput
func (CDNArgsArgs) ToCDNArgsOutputWithContext ¶ added in v0.3.0
func (i CDNArgsArgs) ToCDNArgsOutputWithContext(ctx context.Context) CDNArgsOutput
func (CDNArgsArgs) ToCDNArgsPtrOutput ¶ added in v0.3.0
func (i CDNArgsArgs) ToCDNArgsPtrOutput() CDNArgsPtrOutput
func (CDNArgsArgs) ToCDNArgsPtrOutputWithContext ¶ added in v0.3.0
func (i CDNArgsArgs) ToCDNArgsPtrOutputWithContext(ctx context.Context) CDNArgsPtrOutput
type CDNArgsInput ¶ added in v0.3.0
type CDNArgsInput interface { pulumi.Input ToCDNArgsOutput() CDNArgsOutput ToCDNArgsOutputWithContext(context.Context) CDNArgsOutput }
CDNArgsInput is an input type that accepts CDNArgsArgs and CDNArgsOutput values. You can construct a concrete instance of `CDNArgsInput` via:
CDNArgsArgs{...}
type CDNArgsOutput ¶ added in v0.3.0
type CDNArgsOutput struct{ *pulumi.OutputState }
func (CDNArgsOutput) CloudfrontFunctionAssociations ¶ added in v0.3.0
func (o CDNArgsOutput) CloudfrontFunctionAssociations() cloudfront.DistributionOrderedCacheBehaviorFunctionAssociationArrayOutput
A config block that triggers a cloudfront function with specific actions.
func (CDNArgsOutput) ElementType ¶ added in v0.3.0
func (CDNArgsOutput) ElementType() reflect.Type
func (CDNArgsOutput) ForwardedValues ¶ added in v0.3.0
func (o CDNArgsOutput) ForwardedValues() cloudfront.DistributionDefaultCacheBehaviorForwardedValuesPtrOutput
The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers.
func (CDNArgsOutput) LambdaFunctionAssociations ¶ added in v0.3.0
func (o CDNArgsOutput) LambdaFunctionAssociations() cloudfront.DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput
A config block that triggers a lambda function with specific actions.
func (CDNArgsOutput) ToCDNArgsOutput ¶ added in v0.3.0
func (o CDNArgsOutput) ToCDNArgsOutput() CDNArgsOutput
func (CDNArgsOutput) ToCDNArgsOutputWithContext ¶ added in v0.3.0
func (o CDNArgsOutput) ToCDNArgsOutputWithContext(ctx context.Context) CDNArgsOutput
func (CDNArgsOutput) ToCDNArgsPtrOutput ¶ added in v0.3.0
func (o CDNArgsOutput) ToCDNArgsPtrOutput() CDNArgsPtrOutput
func (CDNArgsOutput) ToCDNArgsPtrOutputWithContext ¶ added in v0.3.0
func (o CDNArgsOutput) ToCDNArgsPtrOutputWithContext(ctx context.Context) CDNArgsPtrOutput
type CDNArgsPtrInput ¶ added in v0.3.0
type CDNArgsPtrInput interface { pulumi.Input ToCDNArgsPtrOutput() CDNArgsPtrOutput ToCDNArgsPtrOutputWithContext(context.Context) CDNArgsPtrOutput }
CDNArgsPtrInput is an input type that accepts CDNArgsArgs, CDNArgsPtr and CDNArgsPtrOutput values. You can construct a concrete instance of `CDNArgsPtrInput` via:
CDNArgsArgs{...} or: nil
func CDNArgsPtr ¶ added in v0.3.0
func CDNArgsPtr(v *CDNArgsArgs) CDNArgsPtrInput
type CDNArgsPtrOutput ¶ added in v0.3.0
type CDNArgsPtrOutput struct{ *pulumi.OutputState }
func (CDNArgsPtrOutput) CloudfrontFunctionAssociations ¶ added in v0.3.0
func (o CDNArgsPtrOutput) CloudfrontFunctionAssociations() cloudfront.DistributionOrderedCacheBehaviorFunctionAssociationArrayOutput
A config block that triggers a cloudfront function with specific actions.
func (CDNArgsPtrOutput) Elem ¶ added in v0.3.0
func (o CDNArgsPtrOutput) Elem() CDNArgsOutput
func (CDNArgsPtrOutput) ElementType ¶ added in v0.3.0
func (CDNArgsPtrOutput) ElementType() reflect.Type
func (CDNArgsPtrOutput) ForwardedValues ¶ added in v0.3.0
func (o CDNArgsPtrOutput) ForwardedValues() cloudfront.DistributionDefaultCacheBehaviorForwardedValuesPtrOutput
The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers.
func (CDNArgsPtrOutput) LambdaFunctionAssociations ¶ added in v0.3.0
func (o CDNArgsPtrOutput) LambdaFunctionAssociations() cloudfront.DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput
A config block that triggers a lambda function with specific actions.
func (CDNArgsPtrOutput) ToCDNArgsPtrOutput ¶ added in v0.3.0
func (o CDNArgsPtrOutput) ToCDNArgsPtrOutput() CDNArgsPtrOutput
func (CDNArgsPtrOutput) ToCDNArgsPtrOutputWithContext ¶ added in v0.3.0
func (o CDNArgsPtrOutput) ToCDNArgsPtrOutputWithContext(ctx context.Context) CDNArgsPtrOutput
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type PublicBucketPolicy ¶ added in v0.4.0
type PublicBucketPolicy struct { pulumi.ResourceState OwnershipControls s3.BucketOwnershipControlsOutput `pulumi:"ownershipControls"` PublicAccessBlock s3.BucketPublicAccessBlockOutput `pulumi:"publicAccessBlock"` }
func NewPublicBucketPolicy ¶ added in v0.4.0
func NewPublicBucketPolicy(ctx *pulumi.Context, name string, args *PublicBucketPolicyArgs, opts ...pulumi.ResourceOption) (*PublicBucketPolicy, error)
NewPublicBucketPolicy registers a new resource with the given unique name, arguments, and options.
func (*PublicBucketPolicy) ElementType ¶ added in v0.4.0
func (*PublicBucketPolicy) ElementType() reflect.Type
func (*PublicBucketPolicy) ToPublicBucketPolicyOutput ¶ added in v0.4.0
func (i *PublicBucketPolicy) ToPublicBucketPolicyOutput() PublicBucketPolicyOutput
func (*PublicBucketPolicy) ToPublicBucketPolicyOutputWithContext ¶ added in v0.4.0
func (i *PublicBucketPolicy) ToPublicBucketPolicyOutputWithContext(ctx context.Context) PublicBucketPolicyOutput
type PublicBucketPolicyArgs ¶ added in v0.4.0
type PublicBucketPolicyArgs struct { // The bucket to apply the public policy to. Bucket s3.BucketInput }
The set of arguments for constructing a PublicBucketPolicy resource.
func (PublicBucketPolicyArgs) ElementType ¶ added in v0.4.0
func (PublicBucketPolicyArgs) ElementType() reflect.Type
type PublicBucketPolicyArray ¶ added in v0.4.0
type PublicBucketPolicyArray []PublicBucketPolicyInput
func (PublicBucketPolicyArray) ElementType ¶ added in v0.4.0
func (PublicBucketPolicyArray) ElementType() reflect.Type
func (PublicBucketPolicyArray) ToPublicBucketPolicyArrayOutput ¶ added in v0.4.0
func (i PublicBucketPolicyArray) ToPublicBucketPolicyArrayOutput() PublicBucketPolicyArrayOutput
func (PublicBucketPolicyArray) ToPublicBucketPolicyArrayOutputWithContext ¶ added in v0.4.0
func (i PublicBucketPolicyArray) ToPublicBucketPolicyArrayOutputWithContext(ctx context.Context) PublicBucketPolicyArrayOutput
type PublicBucketPolicyArrayInput ¶ added in v0.4.0
type PublicBucketPolicyArrayInput interface { pulumi.Input ToPublicBucketPolicyArrayOutput() PublicBucketPolicyArrayOutput ToPublicBucketPolicyArrayOutputWithContext(context.Context) PublicBucketPolicyArrayOutput }
PublicBucketPolicyArrayInput is an input type that accepts PublicBucketPolicyArray and PublicBucketPolicyArrayOutput values. You can construct a concrete instance of `PublicBucketPolicyArrayInput` via:
PublicBucketPolicyArray{ PublicBucketPolicyArgs{...} }
type PublicBucketPolicyArrayOutput ¶ added in v0.4.0
type PublicBucketPolicyArrayOutput struct{ *pulumi.OutputState }
func (PublicBucketPolicyArrayOutput) ElementType ¶ added in v0.4.0
func (PublicBucketPolicyArrayOutput) ElementType() reflect.Type
func (PublicBucketPolicyArrayOutput) Index ¶ added in v0.4.0
func (o PublicBucketPolicyArrayOutput) Index(i pulumi.IntInput) PublicBucketPolicyOutput
func (PublicBucketPolicyArrayOutput) ToPublicBucketPolicyArrayOutput ¶ added in v0.4.0
func (o PublicBucketPolicyArrayOutput) ToPublicBucketPolicyArrayOutput() PublicBucketPolicyArrayOutput
func (PublicBucketPolicyArrayOutput) ToPublicBucketPolicyArrayOutputWithContext ¶ added in v0.4.0
func (o PublicBucketPolicyArrayOutput) ToPublicBucketPolicyArrayOutputWithContext(ctx context.Context) PublicBucketPolicyArrayOutput
type PublicBucketPolicyInput ¶ added in v0.4.0
type PublicBucketPolicyInput interface { pulumi.Input ToPublicBucketPolicyOutput() PublicBucketPolicyOutput ToPublicBucketPolicyOutputWithContext(ctx context.Context) PublicBucketPolicyOutput }
type PublicBucketPolicyMap ¶ added in v0.4.0
type PublicBucketPolicyMap map[string]PublicBucketPolicyInput
func (PublicBucketPolicyMap) ElementType ¶ added in v0.4.0
func (PublicBucketPolicyMap) ElementType() reflect.Type
func (PublicBucketPolicyMap) ToPublicBucketPolicyMapOutput ¶ added in v0.4.0
func (i PublicBucketPolicyMap) ToPublicBucketPolicyMapOutput() PublicBucketPolicyMapOutput
func (PublicBucketPolicyMap) ToPublicBucketPolicyMapOutputWithContext ¶ added in v0.4.0
func (i PublicBucketPolicyMap) ToPublicBucketPolicyMapOutputWithContext(ctx context.Context) PublicBucketPolicyMapOutput
type PublicBucketPolicyMapInput ¶ added in v0.4.0
type PublicBucketPolicyMapInput interface { pulumi.Input ToPublicBucketPolicyMapOutput() PublicBucketPolicyMapOutput ToPublicBucketPolicyMapOutputWithContext(context.Context) PublicBucketPolicyMapOutput }
PublicBucketPolicyMapInput is an input type that accepts PublicBucketPolicyMap and PublicBucketPolicyMapOutput values. You can construct a concrete instance of `PublicBucketPolicyMapInput` via:
PublicBucketPolicyMap{ "key": PublicBucketPolicyArgs{...} }
type PublicBucketPolicyMapOutput ¶ added in v0.4.0
type PublicBucketPolicyMapOutput struct{ *pulumi.OutputState }
func (PublicBucketPolicyMapOutput) ElementType ¶ added in v0.4.0
func (PublicBucketPolicyMapOutput) ElementType() reflect.Type
func (PublicBucketPolicyMapOutput) MapIndex ¶ added in v0.4.0
func (o PublicBucketPolicyMapOutput) MapIndex(k pulumi.StringInput) PublicBucketPolicyOutput
func (PublicBucketPolicyMapOutput) ToPublicBucketPolicyMapOutput ¶ added in v0.4.0
func (o PublicBucketPolicyMapOutput) ToPublicBucketPolicyMapOutput() PublicBucketPolicyMapOutput
func (PublicBucketPolicyMapOutput) ToPublicBucketPolicyMapOutputWithContext ¶ added in v0.4.0
func (o PublicBucketPolicyMapOutput) ToPublicBucketPolicyMapOutputWithContext(ctx context.Context) PublicBucketPolicyMapOutput
type PublicBucketPolicyOutput ¶ added in v0.4.0
type PublicBucketPolicyOutput struct{ *pulumi.OutputState }
func (PublicBucketPolicyOutput) ElementType ¶ added in v0.4.0
func (PublicBucketPolicyOutput) ElementType() reflect.Type
func (PublicBucketPolicyOutput) OwnershipControls ¶ added in v0.4.0
func (o PublicBucketPolicyOutput) OwnershipControls() s3.BucketOwnershipControlsOutput
func (PublicBucketPolicyOutput) PublicAccessBlock ¶ added in v0.4.0
func (o PublicBucketPolicyOutput) PublicAccessBlock() s3.BucketPublicAccessBlockOutput
func (PublicBucketPolicyOutput) ToPublicBucketPolicyOutput ¶ added in v0.4.0
func (o PublicBucketPolicyOutput) ToPublicBucketPolicyOutput() PublicBucketPolicyOutput
func (PublicBucketPolicyOutput) ToPublicBucketPolicyOutputWithContext ¶ added in v0.4.0
func (o PublicBucketPolicyOutput) ToPublicBucketPolicyOutputWithContext(ctx context.Context) PublicBucketPolicyOutput
type Website ¶
type Website struct { pulumi.ResourceState // The name of the s3 bucket containing the website contents. BucketName pulumi.StringOutput `pulumi:"bucketName"` // The website URL for the s3 bucket. BucketWebsiteURL pulumi.StringOutput `pulumi:"bucketWebsiteURL"` // The domain name for the CDN. CdnDomainName pulumi.StringPtrOutput `pulumi:"cdnDomainName"` // The URL for the CDN CdnURL pulumi.StringPtrOutput `pulumi:"cdnURL"` // The name of the s3 bucket containing the access logs. LogsBucketName pulumi.StringPtrOutput `pulumi:"logsBucketName"` // The URL to access the website WebsiteURL pulumi.StringOutput `pulumi:"websiteURL"` }
func NewWebsite ¶
func NewWebsite(ctx *pulumi.Context, name string, args *WebsiteArgs, opts ...pulumi.ResourceOption) (*Website, error)
NewWebsite registers a new resource with the given unique name, arguments, and options.
func (*Website) ElementType ¶
func (*Website) ToWebsiteOutput ¶
func (i *Website) ToWebsiteOutput() WebsiteOutput
func (*Website) ToWebsiteOutputWithContext ¶
func (i *Website) ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput
type WebsiteArgs ¶
type WebsiteArgs struct { // Enable a cache control header to be attached to every request from an Cloudfront Function. AddWebsiteVersionHeader pulumi.BoolPtrInput // Provision a new bucket on each deployment. AtomicDeployments pulumi.BoolPtrInput // TTL in seconds for cached objects. CacheTTL pulumi.Float64PtrInput // Optional arguments used to configure the CDN. CdnArgs CDNArgsPtrInput // The ARN of the ACM certificate to use for serving HTTPS. If one is not provided, a certificate will be created during the provisioning process. CertificateARN pulumi.StringPtrInput // default 404 page Error404 pulumi.StringPtrInput // The default document for the site. Defaults to index.html IndexHTML pulumi.StringPtrInput // The price class to use for the CloudFront configuration. Defaults to 100 if not specified. Valid values are `all`, `100`, and `200` PriceClass pulumi.StringPtrInput // The root directory containing the website's contents. SitePath pulumi.StringInput // An optional subdomain that can be used to serve the content. This can typically be used to provision a www alias or if a deeply nested subdomain is needed (e.g. foo.bar.baz.com). Subdomain pulumi.StringPtrInput // The domain used to serve the content. A Route53 hosted zone must exist for this domain. TargetDomain pulumi.StringPtrInput // Provision CloudFront CDN to serve content. WithCDN pulumi.BoolPtrInput // Provision a bucket to hold access logs. WithLogs pulumi.BoolPtrInput }
The set of arguments for constructing a Website resource.
func (WebsiteArgs) ElementType ¶
func (WebsiteArgs) ElementType() reflect.Type
type WebsiteArray ¶
type WebsiteArray []WebsiteInput
func (WebsiteArray) ElementType ¶
func (WebsiteArray) ElementType() reflect.Type
func (WebsiteArray) ToWebsiteArrayOutput ¶
func (i WebsiteArray) ToWebsiteArrayOutput() WebsiteArrayOutput
func (WebsiteArray) ToWebsiteArrayOutputWithContext ¶
func (i WebsiteArray) ToWebsiteArrayOutputWithContext(ctx context.Context) WebsiteArrayOutput
type WebsiteArrayInput ¶
type WebsiteArrayInput interface { pulumi.Input ToWebsiteArrayOutput() WebsiteArrayOutput ToWebsiteArrayOutputWithContext(context.Context) WebsiteArrayOutput }
WebsiteArrayInput is an input type that accepts WebsiteArray and WebsiteArrayOutput values. You can construct a concrete instance of `WebsiteArrayInput` via:
WebsiteArray{ WebsiteArgs{...} }
type WebsiteArrayOutput ¶
type WebsiteArrayOutput struct{ *pulumi.OutputState }
func (WebsiteArrayOutput) ElementType ¶
func (WebsiteArrayOutput) ElementType() reflect.Type
func (WebsiteArrayOutput) Index ¶
func (o WebsiteArrayOutput) Index(i pulumi.IntInput) WebsiteOutput
func (WebsiteArrayOutput) ToWebsiteArrayOutput ¶
func (o WebsiteArrayOutput) ToWebsiteArrayOutput() WebsiteArrayOutput
func (WebsiteArrayOutput) ToWebsiteArrayOutputWithContext ¶
func (o WebsiteArrayOutput) ToWebsiteArrayOutputWithContext(ctx context.Context) WebsiteArrayOutput
type WebsiteInput ¶
type WebsiteInput interface { pulumi.Input ToWebsiteOutput() WebsiteOutput ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput }
type WebsiteMap ¶
type WebsiteMap map[string]WebsiteInput
func (WebsiteMap) ElementType ¶
func (WebsiteMap) ElementType() reflect.Type
func (WebsiteMap) ToWebsiteMapOutput ¶
func (i WebsiteMap) ToWebsiteMapOutput() WebsiteMapOutput
func (WebsiteMap) ToWebsiteMapOutputWithContext ¶
func (i WebsiteMap) ToWebsiteMapOutputWithContext(ctx context.Context) WebsiteMapOutput
type WebsiteMapInput ¶
type WebsiteMapInput interface { pulumi.Input ToWebsiteMapOutput() WebsiteMapOutput ToWebsiteMapOutputWithContext(context.Context) WebsiteMapOutput }
WebsiteMapInput is an input type that accepts WebsiteMap and WebsiteMapOutput values. You can construct a concrete instance of `WebsiteMapInput` via:
WebsiteMap{ "key": WebsiteArgs{...} }
type WebsiteMapOutput ¶
type WebsiteMapOutput struct{ *pulumi.OutputState }
func (WebsiteMapOutput) ElementType ¶
func (WebsiteMapOutput) ElementType() reflect.Type
func (WebsiteMapOutput) MapIndex ¶
func (o WebsiteMapOutput) MapIndex(k pulumi.StringInput) WebsiteOutput
func (WebsiteMapOutput) ToWebsiteMapOutput ¶
func (o WebsiteMapOutput) ToWebsiteMapOutput() WebsiteMapOutput
func (WebsiteMapOutput) ToWebsiteMapOutputWithContext ¶
func (o WebsiteMapOutput) ToWebsiteMapOutputWithContext(ctx context.Context) WebsiteMapOutput
type WebsiteOutput ¶
type WebsiteOutput struct{ *pulumi.OutputState }
func (WebsiteOutput) BucketName ¶ added in v0.4.0
func (o WebsiteOutput) BucketName() pulumi.StringOutput
The name of the s3 bucket containing the website contents.
func (WebsiteOutput) BucketWebsiteURL ¶ added in v0.4.0
func (o WebsiteOutput) BucketWebsiteURL() pulumi.StringOutput
The website URL for the s3 bucket.
func (WebsiteOutput) CdnDomainName ¶ added in v0.4.0
func (o WebsiteOutput) CdnDomainName() pulumi.StringPtrOutput
The domain name for the CDN.
func (WebsiteOutput) CdnURL ¶ added in v0.4.0
func (o WebsiteOutput) CdnURL() pulumi.StringPtrOutput
The URL for the CDN
func (WebsiteOutput) ElementType ¶
func (WebsiteOutput) ElementType() reflect.Type
func (WebsiteOutput) LogsBucketName ¶ added in v0.4.0
func (o WebsiteOutput) LogsBucketName() pulumi.StringPtrOutput
The name of the s3 bucket containing the access logs.
func (WebsiteOutput) ToWebsiteOutput ¶
func (o WebsiteOutput) ToWebsiteOutput() WebsiteOutput
func (WebsiteOutput) ToWebsiteOutputWithContext ¶
func (o WebsiteOutput) ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput
func (WebsiteOutput) WebsiteURL ¶ added in v0.4.0
func (o WebsiteOutput) WebsiteURL() pulumi.StringOutput
The URL to access the website