We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::SMSVOICE::RegistrationAttachment
Create RegistrationAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegistrationAttachment(name: string, args?: RegistrationAttachmentArgs, opts?: CustomResourceOptions);@overload
def RegistrationAttachment(resource_name: str,
args: Optional[RegistrationAttachmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RegistrationAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
attachment_body: Optional[str] = None,
attachment_url: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewRegistrationAttachment(ctx *Context, name string, args *RegistrationAttachmentArgs, opts ...ResourceOption) (*RegistrationAttachment, error)public RegistrationAttachment(string name, RegistrationAttachmentArgs? args = null, CustomResourceOptions? opts = null)
public RegistrationAttachment(String name, RegistrationAttachmentArgs args)
public RegistrationAttachment(String name, RegistrationAttachmentArgs args, CustomResourceOptions options)
type: aws-native:smsvoice:RegistrationAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_smsvoice_registration_attachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RegistrationAttachmentArgs
- 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 RegistrationAttachmentArgs
- 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 RegistrationAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegistrationAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegistrationAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RegistrationAttachment 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 RegistrationAttachment resource accepts the following input properties:
- Attachment
Body string - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- Attachment
Url string - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of tags (key and value pairs) to associate with the registration attachment.
- Attachment
Body string - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- Attachment
Url string - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
-
Tag
Args - An array of tags (key and value pairs) to associate with the registration attachment.
- attachment_
body string - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- attachment_
url string - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
- list(object)
- An array of tags (key and value pairs) to associate with the registration attachment.
- attachment
Body String - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- attachment
Url String - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
- List<Tag>
- An array of tags (key and value pairs) to associate with the registration attachment.
- attachment
Body string - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- attachment
Url string - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
- Tag[]
- An array of tags (key and value pairs) to associate with the registration attachment.
- attachment_
body str - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- attachment_
url str - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
-
Sequence[Tag
Args] - An array of tags (key and value pairs) to associate with the registration attachment.
- attachment
Body String - The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- attachment
Url String - A URL to the required registration file. For example, the URL to an MMS/shortcode form.
- List<Property Map>
- An array of tags (key and value pairs) to associate with the registration attachment.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegistrationAttachment resource produces the following output properties:
- Attachment
Status Pulumi.Aws Native. Smsvoice. Registration Attachment Attachment Status - The status of the registration attachment.
- Created
Timestamp string - The time when the registration attachment was created, in UNIX epoch time format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registration
Attachment stringArn - The Amazon Resource Name (ARN) for the registration attachment.
- Registration
Attachment stringId - The unique identifier for the registration attachment.
- Uploaded
Attachment stringUrl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
- Attachment
Status RegistrationAttachment Attachment Status - The status of the registration attachment.
- Created
Timestamp string - The time when the registration attachment was created, in UNIX epoch time format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registration
Attachment stringArn - The Amazon Resource Name (ARN) for the registration attachment.
- Registration
Attachment stringId - The unique identifier for the registration attachment.
- Uploaded
Attachment stringUrl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
- attachment_
status "UPLOAD_IN_PROGRESS" | "UPLOAD_COMPLETE" | "UPLOAD_FAILED" | "DELETED" - The status of the registration attachment.
- created_
timestamp string - The time when the registration attachment was created, in UNIX epoch time format.
- id string
- The provider-assigned unique ID for this managed resource.
- registration_
attachment_ stringarn - The Amazon Resource Name (ARN) for the registration attachment.
- registration_
attachment_ stringid - The unique identifier for the registration attachment.
- uploaded_
attachment_ stringurl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
- attachment
Status RegistrationAttachment Attachment Status - The status of the registration attachment.
- created
Timestamp String - The time when the registration attachment was created, in UNIX epoch time format.
- id String
- The provider-assigned unique ID for this managed resource.
- registration
Attachment StringArn - The Amazon Resource Name (ARN) for the registration attachment.
- registration
Attachment StringId - The unique identifier for the registration attachment.
- uploaded
Attachment StringUrl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
- attachment
Status RegistrationAttachment Attachment Status - The status of the registration attachment.
- created
Timestamp string - The time when the registration attachment was created, in UNIX epoch time format.
- id string
- The provider-assigned unique ID for this managed resource.
- registration
Attachment stringArn - The Amazon Resource Name (ARN) for the registration attachment.
- registration
Attachment stringId - The unique identifier for the registration attachment.
- uploaded
Attachment stringUrl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
- attachment_
status RegistrationAttachment Attachment Status - The status of the registration attachment.
- created_
timestamp str - The time when the registration attachment was created, in UNIX epoch time format.
- id str
- The provider-assigned unique ID for this managed resource.
- registration_
attachment_ strarn - The Amazon Resource Name (ARN) for the registration attachment.
- registration_
attachment_ strid - The unique identifier for the registration attachment.
- uploaded_
attachment_ strurl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
- attachment
Status "UPLOAD_IN_PROGRESS" | "UPLOAD_COMPLETE" | "UPLOAD_FAILED" | "DELETED" - The status of the registration attachment.
- created
Timestamp String - The time when the registration attachment was created, in UNIX epoch time format.
- id String
- The provider-assigned unique ID for this managed resource.
- registration
Attachment StringArn - The Amazon Resource Name (ARN) for the registration attachment.
- registration
Attachment StringId - The unique identifier for the registration attachment.
- uploaded
Attachment StringUrl - The URL to the document that was uploaded as the registration attachment, as returned by the service.
Look up Existing RegistrationAttachment Resource
Get an existing RegistrationAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): RegistrationAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> RegistrationAttachmentfunc GetRegistrationAttachment(ctx *Context, name string, id IDInput, state *RegistrationAttachmentState, opts ...ResourceOption) (*RegistrationAttachment, error)public static RegistrationAttachment Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static RegistrationAttachment get(String name, Output<String> id, CustomResourceOptions options)resources: existingRegistrationAttachment: type: aws-native:smsvoice:RegistrationAttachment get: id: ${id}import {
to = aws-native_smsvoice_registration_attachment.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state RegistrationAttachmentState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
RegistrationAttachmentAttachmentStatus
The status of the registration attachment.
| Name | Value |
|---|---|
| Upload | UPLOAD_IN_PROGRESS |
| Upload | UPLOAD_COMPLETE |
| Upload | UPLOAD_FAILED |
| Deleted | DELETED |
| Name | Value |
|---|---|
| Registration | UPLOAD_IN_PROGRESS |
| Registration | UPLOAD_COMPLETE |
| Registration | UPLOAD_FAILED |
| Registration | DELETED |
| Value |
|---|
UPLOAD_IN_PROGRESS |
UPLOAD_COMPLETE |
UPLOAD_FAILED |
DELETED |
| Name | Value |
|---|---|
| Upload | UPLOAD_IN_PROGRESS |
| Upload | UPLOAD_COMPLETE |
| Upload | UPLOAD_FAILED |
| Deleted | DELETED |
| Name | Value |
|---|---|
| Upload | UPLOAD_IN_PROGRESS |
| Upload | UPLOAD_COMPLETE |
| Upload | UPLOAD_FAILED |
| Deleted | DELETED |
| Name | Value |
|---|---|
| UPLOAD_IN_PROGRESS | UPLOAD_IN_PROGRESS |
| UPLOAD_COMPLETE | UPLOAD_COMPLETE |
| UPLOAD_FAILED | UPLOAD_FAILED |
| DELETED | DELETED |
| Value |
|---|
UPLOAD_IN_PROGRESS |
UPLOAD_COMPLETE |
UPLOAD_FAILED |
DELETED |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi