Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.appengine/v1beta.AuthorizedCertificate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Uploads the specified SSL certificate. Auto-naming is currently not supported for this resource.
Create AuthorizedCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthorizedCertificate(name: string, args: AuthorizedCertificateArgs, opts?: CustomResourceOptions);
@overload
def AuthorizedCertificate(resource_name: str,
args: AuthorizedCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthorizedCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
certificate_raw_data: Optional[CertificateRawDataArgs] = None,
display_name: Optional[str] = None)
func NewAuthorizedCertificate(ctx *Context, name string, args AuthorizedCertificateArgs, opts ...ResourceOption) (*AuthorizedCertificate, error)
public AuthorizedCertificate(string name, AuthorizedCertificateArgs args, CustomResourceOptions? opts = null)
public AuthorizedCertificate(String name, AuthorizedCertificateArgs args)
public AuthorizedCertificate(String name, AuthorizedCertificateArgs args, CustomResourceOptions options)
type: google-native:appengine/v1beta:AuthorizedCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AuthorizedCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AuthorizedCertificateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AuthorizedCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthorizedCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthorizedCertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleauthorizedCertificateResourceResourceFromAppenginev1beta = new GoogleNative.AppEngine.V1Beta.AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta", new()
{
AppId = "string",
CertificateRawData = new GoogleNative.AppEngine.V1Beta.Inputs.CertificateRawDataArgs
{
PrivateKey = "string",
PublicCertificate = "string",
},
DisplayName = "string",
});
example, err := appenginev1beta.NewAuthorizedCertificate(ctx, "exampleauthorizedCertificateResourceResourceFromAppenginev1beta", &appenginev1beta.AuthorizedCertificateArgs{
AppId: pulumi.String("string"),
CertificateRawData: &appengine.CertificateRawDataArgs{
PrivateKey: pulumi.String("string"),
PublicCertificate: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
})
var exampleauthorizedCertificateResourceResourceFromAppenginev1beta = new AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta", AuthorizedCertificateArgs.builder()
.appId("string")
.certificateRawData(CertificateRawDataArgs.builder()
.privateKey("string")
.publicCertificate("string")
.build())
.displayName("string")
.build());
exampleauthorized_certificate_resource_resource_from_appenginev1beta = google_native.appengine.v1beta.AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta",
app_id="string",
certificate_raw_data=google_native.appengine.v1beta.CertificateRawDataArgs(
private_key="string",
public_certificate="string",
),
display_name="string")
const exampleauthorizedCertificateResourceResourceFromAppenginev1beta = new google_native.appengine.v1beta.AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta", {
appId: "string",
certificateRawData: {
privateKey: "string",
publicCertificate: "string",
},
displayName: "string",
});
type: google-native:appengine/v1beta:AuthorizedCertificate
properties:
appId: string
certificateRawData:
privateKey: string
publicCertificate: string
displayName: string
AuthorizedCertificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AuthorizedCertificate resource accepts the following input properties:
- App
Id string - Certificate
Raw Pulumi.Data Google Native. App Engine. V1Beta. Inputs. Certificate Raw Data - The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
- Display
Name string - The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
- App
Id string - Certificate
Raw CertificateData Raw Data Args - The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
- Display
Name string - The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
- app
Id String - certificate
Raw CertificateData Raw Data - The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
- display
Name String - The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
- app
Id string - certificate
Raw CertificateData Raw Data - The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
- display
Name string - The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
- app_
id str - certificate_
raw_ Certificatedata Raw Data Args - The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
- display_
name str - The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
- app
Id String - certificate
Raw Property MapData - The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
- display
Name String - The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthorizedCertificate resource produces the following output properties:
- Domain
Mappings intCount - Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- Domain
Names List<string> - Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
- Expire
Time string - The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Certificate Pulumi.Google Native. App Engine. V1Beta. Outputs. Managed Certificate Response - Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
- Name string
- Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
- Visible
Domain List<string>Mappings - The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- Domain
Mappings intCount - Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- Domain
Names []string - Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
- Expire
Time string - The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Certificate ManagedCertificate Response - Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
- Name string
- Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
- Visible
Domain []stringMappings - The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain
Mappings IntegerCount - Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain
Names List<String> - Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
- expire
Time String - The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Certificate ManagedCertificate Response - Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
- name String
- Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
- visible
Domain List<String>Mappings - The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain
Mappings numberCount - Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain
Names string[] - Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
- expire
Time string - The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Certificate ManagedCertificate Response - Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
- name string
- Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
- visible
Domain string[]Mappings - The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain_
mappings_ intcount - Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain_
names Sequence[str] - Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
- expire_
time str - The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
certificate ManagedCertificate Response - Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
- name str
- Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
- visible_
domain_ Sequence[str]mappings - The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain
Mappings NumberCount - Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
- domain
Names List<String> - Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
- expire
Time String - The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Certificate Property Map - Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
- name String
- Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
- visible
Domain List<String>Mappings - The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
Supporting Types
CertificateRawData, CertificateRawDataArgs
- Private
Key string - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- Public
Certificate string - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- Private
Key string - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- Public
Certificate string - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private
Key String - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public
Certificate String - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private
Key string - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public
Certificate string - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private_
key str - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public_
certificate str - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private
Key String - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public
Certificate String - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
CertificateRawDataResponse, CertificateRawDataResponseArgs
- Private
Key string - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- Public
Certificate string - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- Private
Key string - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- Public
Certificate string - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private
Key String - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public
Certificate String - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private
Key string - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public
Certificate string - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private_
key str - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public_
certificate str - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
- private
Key String - Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
- public
Certificate String - PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
ManagedCertificateResponse, ManagedCertificateResponseArgs
- Last
Renewal stringTime - Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
- Status string
- Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
- Last
Renewal stringTime - Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
- Status string
- Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
- last
Renewal StringTime - Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
- status String
- Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
- last
Renewal stringTime - Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
- status string
- Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
- last_
renewal_ strtime - Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
- status str
- Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
- last
Renewal StringTime - Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
- status String
- Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.