AWS Cloud Extensions

2026/11/29 - AWS Cloud Extensions - 16 new api methods

Changes  Initial release of Cloud Extensions. Cloud Extensions extends AWS service capabilities by running logic that AWS builds and maintains directly in your compute environments. See documentation for more information.

UpdateProfileEntry (new) Link ¶

Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.

See also: AWS API Documentation

Request Syntax

client.update_profile_entry(
    identifier='string',
    profileIdentifier='string',
    name='string',
    description='string',
    interfaces={
        'string': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {}
                    ,
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                },
                'basePath': 'string'
            }
        }
    },
    executionRole='string',
    versionPolicy={
        'updateStrategy': 'AUTOMATIC'|'MANUAL',
        'versionSelector': 'string'
    },
    settings={...}|[...]|123|123.4|'string'|True|None,
    approve=[
        'string',
    ]
)
type identifier:

string

param identifier:

[REQUIRED]

The identifier of the profile entry

type profileIdentifier:

string

param profileIdentifier:

[REQUIRED]

The identifier of the owning profile.

type name:

string

param name:

A new name for the entry, unique within the profile.

type description:

string

param description:

A new description of the entry's purpose. An empty string removes the description.

type interfaces:

dict

param interfaces:

Per-interface options, keyed by the id of an interface the extension declares.

  • (string) --

    The id of an interface the extension declares.

    • (dict) --

      The options for the interface.

      • http (dict) --

        Options for an HTTP interface.

        • authentication (dict) --

          How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.

          • none (boolean) --

            Whether clients may interact with the extension interface without authenticating.

          • runtimeCredentials (dict) --

            Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

          • extensionKey (dict) --

            Clients sign requests with SigV4 using a key the service issues.

            • accessKeyId (string) --

              The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

            • secretKey (dict) --

              The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

              • literal (string) --

                The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

              • reference (string) --

                The ARN of a Secrets Manager secret holding the secret key.

        • basePath (string) --

          The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

type executionRole:

string

param executionRole:

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal. An empty string removes the entry's role, so the profile's default applies.

type versionPolicy:

dict

param versionPolicy:

Controls which extension version this entry tracks and how it adopts new releases.

  • updateStrategy (string) --

    The update strategy to use when a new extension version is available.

  • versionSelector (string) --

    An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

type settings:

:ref:`document<document>`

param settings:

Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396). An omitted setting is unchanged, null removes a setting so it takes its default if it has one, an object merges into a group's stored values, and any other value replaces the stored one. An array replaces the whole stored array, and a null inside an array is rejected. Keys are the extension's setting ids and the merged values are validated against the extension's settings definitions.

type approve:

list

param approve:

The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.

  • (string) --

    The path of a capability declared by the extension.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'profileId': 'string',
    'profileName': 'string',
    'extensionId': 'string',
    'extensionDisplayName': 'string',
    'versionPolicy': {
        'updateStrategy': 'AUTOMATIC'|'MANUAL',
        'versionSelector': 'string'
    },
    'resolvedVersion': 'string',
    'latestVersion': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'executionRole': 'string',
    'description': 'string',
    'effectiveSettings': {...}|[...]|123|123.4|'string'|True|None,
    'approvedCapabilities': {
        'string': {
            'filesystem': {
                'directory': 'string',
                'paths': [
                    'string',
                ],
                'accessMode': 'READ_ONLY'|'READ_WRITE',
                'createMode': 'PRIVATE'|'PUBLIC'
            },
            'aws': {
                'services': {
                    'string': [
                        'string',
                    ]
                }
            },
            'exec': {
                'command': 'string',
                'args': [
                    'string',
                ],
                'timeoutInSeconds': 123
            }
        }
    },
    'inherited': {
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    },
    'interfaces': {
        'string': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                },
                'basePath': 'string'
            }
        }
    }
}

Response Structure

  • (dict) --

    A profile entry binds an extension to a profile, defining which version to track and how the extension is configured for that deployment context. Each profile can have one entry per extension.

    • id (string) --

      The service-generated id of the profile entry.

    • name (string) --

      The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

    • arn (string) --

      The Amazon Resource Name (ARN) of the profile entry.

    • profileId (string) --

      The id of the profile this entry belongs to.

    • profileName (string) --

      The name of the profile this entry belongs to.

    • extensionId (string) --

      The id of the extension this entry references, such as aws:secretsmanager.

    • extensionDisplayName (string) --

      The display name of the extension this entry references.

    • versionPolicy (dict) --

      Controls which extension version this entry tracks and how it adopts new releases.

      • updateStrategy (string) --

        The update strategy to use when a new extension version is available.

      • versionSelector (string) --

        An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

    • resolvedVersion (string) --

      The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

    • latestVersion (string) --

      The extension's latest released version, whether or not the entry's version policy selects it.

    • createdAt (datetime) --

      When the profile entry was created.

    • updatedAt (datetime) --

      When the profile entry was last updated. Equal to createdAt until the first update.

    • executionRole (string) --

      The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

    • description (string) --

      A description of the entry's purpose.

    • effectiveSettings (:ref:`document<document>`) --

      The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.

    • approvedCapabilities (dict) --

      A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

      • (string) --

        The path of an approved capability.

        • (dict) --

          The approved specification of the capability.

          • filesystem (dict) --

            Access to the host filesystem.

            • directory (string) --

              A base directory path. If provided, grants access to this directory and its contents.

            • paths (list) --

              Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

              • (string) --

                A file path to grant access to.

            • accessMode (string) --

              The level of filesystem access requested.

            • createMode (string) --

              Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

          • aws (dict) --

            Permission to call AWS service APIs.

            • services (dict) --

              A map of AWS service names to the list of API operations the extension is allowed to invoke.

              • (string) --

                The name of an AWS service.

                • (list) --

                  The API operations of the service the extension is allowed to invoke.

                  • (string) --

                    The name of an API operation.

          • exec (dict) --

            Permission to execute a host command.

            • command (string) --

              The command to execute.

            • args (list) --

              Arguments passed to the command.

              • (string) --

                An argument passed to the command.

            • timeoutInSeconds (integer) --

              Maximum time in seconds the command is allowed to run before being terminated.

    • inherited (dict) --

      The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.

      • executionRole (string) --

        The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      • interfaceDefaults (dict) --

        Default options for the interfaces of the extensions in this profile, by interface type.

        • http (dict) --

          Default options for HTTP interfaces.

          • authentication (dict) --

            The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

            • none (boolean) --

              Whether clients may interact with the extension interface without authenticating.

            • runtimeCredentials (dict) --

              Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

            • extensionKey (dict) --

              Clients sign requests with SigV4 using a key the service issues.

              • accessKeyId (string) --

                The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

              • secretKey (dict) --

                The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                • literal (string) --

                  The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                • reference (string) --

                  The ARN of a Secrets Manager secret holding the secret key.

    • interfaces (dict) --

      Per-interface options for this entry, keyed by the id of an interface the extension declares.

      • (string) --

        The id of an interface the extension declares.

        • (dict) --

          The options for the interface.

          • http (dict) --

            Options for an HTTP interface.

            • authentication (dict) --

              How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.

              • none (boolean) --

                Whether clients may interact with the extension interface without authenticating.

              • runtimeCredentials (dict) --

                Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

              • extensionKey (dict) --

                Clients sign requests with SigV4 using a key the service issues.

                • accessKeyId (string) --

                  The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

                • secretKey (dict) --

                  The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                  • literal (string) --

                    The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                  • reference (string) --

                    The ARN of a Secrets Manager secret holding the secret key.

            • basePath (string) --

              The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

DeleteProfileEntry (new) Link ¶

Removes a profile entry, unbinding the extension from the profile.

See also: AWS API Documentation

Request Syntax

client.delete_profile_entry(
    identifier='string',
    profileIdentifier='string'
)
type identifier:

string

param identifier:

[REQUIRED]

The identifier of the profile entry.

type profileIdentifier:

string

param profileIdentifier:

[REQUIRED]

The identifier of the owning profile.

returns:

None

DeleteProfile (new) Link ¶

Deletes a profile and its profile entries.

See also: AWS API Documentation

Request Syntax

client.delete_profile(
    identifier='string'
)
type identifier:

string

param identifier:

[REQUIRED]

The identifier (id or name) of the profile to delete.

returns:

None

GetProfile (new) Link ¶

Retrieves a profile by its identifier (id or name).

See also: AWS API Documentation

Request Syntax

client.get_profile(
    identifier='string'
)
type identifier:

string

param identifier:

[REQUIRED]

The identifier (id or name) of the profile.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'entryCount': 123,
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'description': 'string',
    'extensionDefaults': {
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    }
}

Response Structure

  • (dict) --

    A profile represents a deployment target — the configuration context in which extensions run. Profiles own profile entries that bind specific extensions to the profile's execution environment.

    • id (string) --

      The service-generated id of the profile.

    • name (string) --

      The name of the profile.

    • arn (string) --

      The Amazon Resource Name (ARN) of the profile.

    • entryCount (integer) --

      The number of entries in this profile.

    • createdAt (datetime) --

      When the profile was created.

    • updatedAt (datetime) --

      When the profile was last updated. Equal to createdAt until the first update.

    • description (string) --

      A human-readable description of this profile's purpose or target environment.

    • extensionDefaults (dict) --

      Default values used by the extensions in this profile. These can be overridden at the profile entry level.

      • executionRole (string) --

        The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      • interfaceDefaults (dict) --

        Default options for the interfaces of the extensions in this profile, by interface type.

        • http (dict) --

          Default options for HTTP interfaces.

          • authentication (dict) --

            The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

            • none (boolean) --

              Whether clients may interact with the extension interface without authenticating.

            • runtimeCredentials (dict) --

              Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

            • extensionKey (dict) --

              Clients sign requests with SigV4 using a key the service issues.

              • accessKeyId (string) --

                The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

              • secretKey (dict) --

                The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                • literal (string) --

                  The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                • reference (string) --

                  The ARN of a Secrets Manager secret holding the secret key.

ListProfiles (new) Link ¶

Lists profiles in the account, optionally filtered by name.

See also: AWS API Documentation

Request Syntax

client.list_profiles(
    name='string',
    maxResults=123,
    nextToken='string'
)
type name:

string

param name:

Optional filter to match profiles by name.

type maxResults:

integer

param maxResults:

The maximum number of profiles to return in one page.

type nextToken:

string

param nextToken:

The token returned by a previous call, to retrieve the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'id': 'string',
            'name': 'string',
            'arn': 'string',
            'entryCount': 123,
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    A page of profiles.

    • items (list) --

      The profiles in this page of results.

      • (dict) --

        A summary of one profile.

        • id (string) --

          The service-generated id of the profile.

        • name (string) --

          The name of the profile.

        • arn (string) --

          The Amazon Resource Name (ARN) of the profile.

        • entryCount (integer) --

          The number of entries in this profile.

        • createdAt (datetime) --

          When the profile was created.

        • updatedAt (datetime) --

          When the profile was last updated. Equal to createdAt until the first update.

    • nextToken (string) --

      A token to retrieve the next page of results. Absent when there are no more results.

UpdateProfile (new) Link ¶

Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.

See also: AWS API Documentation

Request Syntax

client.update_profile(
    identifier='string',
    name='string',
    description='string',
    extensionDefaults={
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {}
                    ,
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    }
)
type identifier:

string

param identifier:

[REQUIRED]

The identifier (id or name) of the profile to update.

type name:

string

param name:

The new name of the profile. Must be unique within the account.

type description:

string

param description:

A human-readable description of the profile's purpose or target environment. An empty string removes the description.

type extensionDefaults:

dict

param extensionDefaults:

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

  • executionRole (string) --

    The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

  • interfaceDefaults (dict) --

    Default options for the interfaces of the extensions in this profile, by interface type.

    • http (dict) --

      Default options for HTTP interfaces.

      • authentication (dict) --

        The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

        • none (boolean) --

          Whether clients may interact with the extension interface without authenticating.

        • runtimeCredentials (dict) --

          Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

        • extensionKey (dict) --

          Clients sign requests with SigV4 using a key the service issues.

          • accessKeyId (string) --

            The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

          • secretKey (dict) --

            The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

            • literal (string) --

              The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

            • reference (string) --

              The ARN of a Secrets Manager secret holding the secret key.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'entryCount': 123,
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'description': 'string',
    'extensionDefaults': {
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    }
}

Response Structure

  • (dict) --

    A profile represents a deployment target — the configuration context in which extensions run. Profiles own profile entries that bind specific extensions to the profile's execution environment.

    • id (string) --

      The service-generated id of the profile.

    • name (string) --

      The name of the profile.

    • arn (string) --

      The Amazon Resource Name (ARN) of the profile.

    • entryCount (integer) --

      The number of entries in this profile.

    • createdAt (datetime) --

      When the profile was created.

    • updatedAt (datetime) --

      When the profile was last updated. Equal to createdAt until the first update.

    • description (string) --

      A human-readable description of this profile's purpose or target environment.

    • extensionDefaults (dict) --

      Default values used by the extensions in this profile. These can be overridden at the profile entry level.

      • executionRole (string) --

        The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      • interfaceDefaults (dict) --

        Default options for the interfaces of the extensions in this profile, by interface type.

        • http (dict) --

          Default options for HTTP interfaces.

          • authentication (dict) --

            The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

            • none (boolean) --

              Whether clients may interact with the extension interface without authenticating.

            • runtimeCredentials (dict) --

              Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

            • extensionKey (dict) --

              Clients sign requests with SigV4 using a key the service issues.

              • accessKeyId (string) --

                The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

              • secretKey (dict) --

                The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                • literal (string) --

                  The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                • reference (string) --

                  The ARN of a Secrets Manager secret holding the secret key.

GetProfileEntry (new) Link ¶

Retrieves a profile entry by its profile identifier and entry identifier.

See also: AWS API Documentation

Request Syntax

client.get_profile_entry(
    identifier='string',
    profileIdentifier='string'
)
type identifier:

string

param identifier:

[REQUIRED]

The identifier (id or name) of the profile entry.

type profileIdentifier:

string

param profileIdentifier:

[REQUIRED]

The identifier of the owning profile.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'profileId': 'string',
    'profileName': 'string',
    'extensionId': 'string',
    'extensionDisplayName': 'string',
    'versionPolicy': {
        'updateStrategy': 'AUTOMATIC'|'MANUAL',
        'versionSelector': 'string'
    },
    'resolvedVersion': 'string',
    'latestVersion': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'executionRole': 'string',
    'description': 'string',
    'effectiveSettings': {...}|[...]|123|123.4|'string'|True|None,
    'approvedCapabilities': {
        'string': {
            'filesystem': {
                'directory': 'string',
                'paths': [
                    'string',
                ],
                'accessMode': 'READ_ONLY'|'READ_WRITE',
                'createMode': 'PRIVATE'|'PUBLIC'
            },
            'aws': {
                'services': {
                    'string': [
                        'string',
                    ]
                }
            },
            'exec': {
                'command': 'string',
                'args': [
                    'string',
                ],
                'timeoutInSeconds': 123
            }
        }
    },
    'inherited': {
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    },
    'interfaces': {
        'string': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                },
                'basePath': 'string'
            }
        }
    }
}

Response Structure

  • (dict) --

    A profile entry binds an extension to a profile, defining which version to track and how the extension is configured for that deployment context. Each profile can have one entry per extension.

    • id (string) --

      The service-generated id of the profile entry.

    • name (string) --

      The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

    • arn (string) --

      The Amazon Resource Name (ARN) of the profile entry.

    • profileId (string) --

      The id of the profile this entry belongs to.

    • profileName (string) --

      The name of the profile this entry belongs to.

    • extensionId (string) --

      The id of the extension this entry references, such as aws:secretsmanager.

    • extensionDisplayName (string) --

      The display name of the extension this entry references.

    • versionPolicy (dict) --

      Controls which extension version this entry tracks and how it adopts new releases.

      • updateStrategy (string) --

        The update strategy to use when a new extension version is available.

      • versionSelector (string) --

        An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

    • resolvedVersion (string) --

      The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

    • latestVersion (string) --

      The extension's latest released version, whether or not the entry's version policy selects it.

    • createdAt (datetime) --

      When the profile entry was created.

    • updatedAt (datetime) --

      When the profile entry was last updated. Equal to createdAt until the first update.

    • executionRole (string) --

      The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

    • description (string) --

      A description of the entry's purpose.

    • effectiveSettings (:ref:`document<document>`) --

      The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.

    • approvedCapabilities (dict) --

      A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

      • (string) --

        The path of an approved capability.

        • (dict) --

          The approved specification of the capability.

          • filesystem (dict) --

            Access to the host filesystem.

            • directory (string) --

              A base directory path. If provided, grants access to this directory and its contents.

            • paths (list) --

              Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

              • (string) --

                A file path to grant access to.

            • accessMode (string) --

              The level of filesystem access requested.

            • createMode (string) --

              Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

          • aws (dict) --

            Permission to call AWS service APIs.

            • services (dict) --

              A map of AWS service names to the list of API operations the extension is allowed to invoke.

              • (string) --

                The name of an AWS service.

                • (list) --

                  The API operations of the service the extension is allowed to invoke.

                  • (string) --

                    The name of an API operation.

          • exec (dict) --

            Permission to execute a host command.

            • command (string) --

              The command to execute.

            • args (list) --

              Arguments passed to the command.

              • (string) --

                An argument passed to the command.

            • timeoutInSeconds (integer) --

              Maximum time in seconds the command is allowed to run before being terminated.

    • inherited (dict) --

      The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.

      • executionRole (string) --

        The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      • interfaceDefaults (dict) --

        Default options for the interfaces of the extensions in this profile, by interface type.

        • http (dict) --

          Default options for HTTP interfaces.

          • authentication (dict) --

            The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

            • none (boolean) --

              Whether clients may interact with the extension interface without authenticating.

            • runtimeCredentials (dict) --

              Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

            • extensionKey (dict) --

              Clients sign requests with SigV4 using a key the service issues.

              • accessKeyId (string) --

                The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

              • secretKey (dict) --

                The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                • literal (string) --

                  The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                • reference (string) --

                  The ARN of a Secrets Manager secret holding the secret key.

    • interfaces (dict) --

      Per-interface options for this entry, keyed by the id of an interface the extension declares.

      • (string) --

        The id of an interface the extension declares.

        • (dict) --

          The options for the interface.

          • http (dict) --

            Options for an HTTP interface.

            • authentication (dict) --

              How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.

              • none (boolean) --

                Whether clients may interact with the extension interface without authenticating.

              • runtimeCredentials (dict) --

                Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

              • extensionKey (dict) --

                Clients sign requests with SigV4 using a key the service issues.

                • accessKeyId (string) --

                  The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

                • secretKey (dict) --

                  The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                  • literal (string) --

                    The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                  • reference (string) --

                    The ARN of a Secrets Manager secret holding the secret key.

            • basePath (string) --

              The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

GetExtension (new) Link ¶

Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.

See also: AWS API Documentation

Request Syntax

client.get_extension(
    identifier='string',
    extensionVersion='string'
)
type identifier:

string

param identifier:

[REQUIRED]

The id of the extension, such as aws:secretsmanager.

type extensionVersion:

string

param extensionVersion:

The version to retrieve. Omit it to retrieve the latest release.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'displayName': 'string',
    'arn': 'string',
    'version': 'string',
    'overview': 'string',
    'documentationLink': 'string',
    'releaseNotes': 'string',
    'releasedAt': datetime(2015, 1, 1),
    'description': 'string',
    'configuration': {
        'settings': [
            {
                'id': 'string',
                'displayName': 'string',
                'description': 'string',
                'required': True|False,
                'activeWhen': 'string',
                'definition': {
                    'string': {
                        'default': 'string',
                        'format': 'arn'|'filepath',
                        'pattern': 'string',
                        'enum': [
                            'string',
                        ],
                        'minLength': 123,
                        'maxLength': 123
                    },
                    'integer': {
                        'default': 123,
                        'min': 123,
                        'max': 123
                    },
                    'float': {
                        'default': 123.0,
                        'min': 123.0,
                        'max': 123.0
                    },
                    'boolean': {
                        'default': True|False
                    },
                    'array': {
                        'minLength': 123,
                        'maxLength': 123,
                        'itemDefinition': {'... recursive ...'}
                    },
                    'group': {
                        'settings': {'... recursive ...'},
                        'capabilities': [
                            {
                                'id': 'string',
                                'purpose': 'string',
                                'required': True|False,
                                'definition': {
                                    'filesystem': {
                                        'directory': 'string',
                                        'paths': [
                                            'string',
                                        ],
                                        'accessMode': 'READ_ONLY'|'READ_WRITE',
                                        'createMode': 'PRIVATE'|'PUBLIC'
                                    },
                                    'aws': {
                                        'services': {
                                            'string': [
                                                'string',
                                            ]
                                        }
                                    },
                                    'exec': {
                                        'command': 'string',
                                        'args': [
                                            'string',
                                        ],
                                        'timeoutInSeconds': 123
                                    }
                                }
                            },
                        ]
                    }
                }
            },
        ],
        'capabilities': [
            {
                'id': 'string',
                'purpose': 'string',
                'required': True|False,
                'definition': {
                    'filesystem': {
                        'directory': 'string',
                        'paths': [
                            'string',
                        ],
                        'accessMode': 'READ_ONLY'|'READ_WRITE',
                        'createMode': 'PRIVATE'|'PUBLIC'
                    },
                    'aws': {
                        'services': {
                            'string': [
                                'string',
                            ]
                        }
                    },
                    'exec': {
                        'command': 'string',
                        'args': [
                            'string',
                        ],
                        'timeoutInSeconds': 123
                    }
                }
            },
        ],
        'interfaces': [
            {
                'id': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    A released, immutable extension package. Represents a versioned unit of compute that can be deployed to profiles via profile entries. Each extension version is a published snapshot of an extension draft.

    • id (string) --

      The extension's id, in the form namespace:name, such as aws:secretsmanager.

    • displayName (string) --

      The extension's display name.

    • arn (string) --

      The Amazon Resource Name (ARN) of the extension.

    • version (string) --

      The semantic version of this release.

    • overview (string) --

      A short summary of what the extension does, suitable for a catalog listing.

    • documentationLink (string) --

      A link to external documentation for this extension.

    • releaseNotes (string) --

      Author-provided notes describing what changed in this release.

    • releasedAt (datetime) --

      The timestamp when this version was released.

    • description (string) --

      A full description of the extension's purpose and functionality.

    • configuration (dict) --

      The settings, capabilities and interfaces declared by this extension version.

      • settings (list) --

        The configurable settings exposed by this extension.

        • (dict) --

          Defines a configurable setting that an extension exposes to deployers. Settings are part of an extension's declared configuration schema.

          • id (string) --

            A unique identifier for this setting within the extension's configuration.

          • displayName (string) --

            A short, human-readable label for this setting, suitable for display in a UI.

          • description (string) --

            A description of what this setting controls and how it affects the extension's behavior.

          • required (boolean) --

            Whether the deployer must provide a value for this setting. Defaults to false.

          • activeWhen (string) --

            A conditional expression referencing another setting's id. When specified, this setting is only active (visible and applicable) when the referenced condition is met.

          • definition (dict) --

            The type and constraints for this setting's value.

            • string (dict) --

              The setting's value is a string.

              • default (string) --

                The default value used when the deployer does not provide one.

              • format (string) --

                A named format constraint that implies additional validation (e.g. 'arn' or 'filepath').

              • pattern (string) --

                A regular expression the value must match.

              • enum (list) --

                An explicit list of allowed values. The deployer must choose from this set.

                • (string) --

                  An allowed value, between 1 and 16 characters.

              • minLength (integer) --

                The shortest length the value may have.

              • maxLength (integer) --

                The longest length the value may have. Must be greater than 0 and at least minLength.

            • integer (dict) --

              The setting's value is a whole number.

              • default (integer) --

                The default value used when the deployer does not provide one.

              • min (integer) --

                The smallest allowed value, inclusive.

              • max (integer) --

                The largest allowed value, inclusive. Must be at least min.

            • float (dict) --

              The setting's value is a number that may have a fractional part.

              • default (float) --

                The default value used when the deployer does not provide one.

              • min (float) --

                The smallest allowed value, inclusive.

              • max (float) --

                The largest allowed value, inclusive. Must be at least min.

            • boolean (dict) --

              The setting's value is true or false.

              • default (boolean) --

                The default value used when the deployer does not provide one.

            • array (dict) --

              The setting's value is a JSON array whose items share one definition.

              • minLength (integer) --

                The fewest items the array may hold.

              • maxLength (integer) --

                The most items the array may hold, between 1 and 100. Must be at least minLength.

              • itemDefinition (dict) --

                The definition for each element in the array.

            • group (dict) --

              The setting's value is a JSON object holding a nested set of settings.

              • settings (list) --

                The settings within this group.

              • capabilities (list) --

                Optional capabilities scoped to this group.

                • (dict) --

                  Declares a host capability that an extension requires. Capabilities must be explicitly approved by the deployer before the extension can use them.

                  • id (string) --

                    A unique identifier for this capability within the extension's configuration.

                  • purpose (string) --

                    A description of why the extension needs this capability and how it will be used.

                  • required (boolean) --

                    Whether this capability is mandatory for the extension to function. Defaults to false.

                  • definition (dict) --

                    The type-specific details of the requested capability.

                    • filesystem (dict) --

                      Access to the host filesystem.

                      • directory (string) --

                        A base directory path. If provided, grants access to this directory and its contents.

                      • paths (list) --

                        Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

                        • (string) --

                          A file path to grant access to.

                      • accessMode (string) --

                        The level of filesystem access requested.

                      • createMode (string) --

                        Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

                    • aws (dict) --

                      Permission to call AWS service APIs.

                      • services (dict) --

                        A map of AWS service names to the list of API operations the extension is allowed to invoke.

                        • (string) --

                          The name of an AWS service.

                          • (list) --

                            The API operations of the service the extension is allowed to invoke.

                            • (string) --

                              The name of an API operation.

                    • exec (dict) --

                      Permission to execute a host command.

                      • command (string) --

                        The command to execute.

                      • args (list) --

                        Arguments passed to the command.

                        • (string) --

                          An argument passed to the command.

                      • timeoutInSeconds (integer) --

                        Maximum time in seconds the command is allowed to run before being terminated.

      • capabilities (list) --

        The host capabilities this extension requires to function (filesystem access, AWS service calls, exec permissions).

        • (dict) --

          Declares a host capability that an extension requires. Capabilities must be explicitly approved by the deployer before the extension can use them.

          • id (string) --

            A unique identifier for this capability within the extension's configuration.

          • purpose (string) --

            A description of why the extension needs this capability and how it will be used.

          • required (boolean) --

            Whether this capability is mandatory for the extension to function. Defaults to false.

          • definition (dict) --

            The type-specific details of the requested capability.

            • filesystem (dict) --

              Access to the host filesystem.

              • directory (string) --

                A base directory path. If provided, grants access to this directory and its contents.

              • paths (list) --

                Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

                • (string) --

                  A file path to grant access to.

              • accessMode (string) --

                The level of filesystem access requested.

              • createMode (string) --

                Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

            • aws (dict) --

              Permission to call AWS service APIs.

              • services (dict) --

                A map of AWS service names to the list of API operations the extension is allowed to invoke.

                • (string) --

                  The name of an AWS service.

                  • (list) --

                    The API operations of the service the extension is allowed to invoke.

                    • (string) --

                      The name of an API operation.

            • exec (dict) --

              Permission to execute a host command.

              • command (string) --

                The command to execute.

              • args (list) --

                Arguments passed to the command.

                • (string) --

                  An argument passed to the command.

              • timeoutInSeconds (integer) --

                Maximum time in seconds the command is allowed to run before being terminated.

      • interfaces (list) --

        The interfaces this extension serves to clients.

        • (dict) --

          Declares an HTTP interface that an extension serves to clients.

          • id (string) --

            A unique identifier for this interface within the extension's configuration.

ListProfileEntries (new) Link ¶

Lists profile entries for a given profile.

See also: AWS API Documentation

Request Syntax

client.list_profile_entries(
    profileIdentifier='string',
    maxResults=123,
    nextToken='string'
)
type profileIdentifier:

string

param profileIdentifier:

[REQUIRED]

The identifier of the profile whose entries to list.

type maxResults:

integer

param maxResults:

The maximum number of profile entries to return in one page.

type nextToken:

string

param nextToken:

The token returned by a previous call, to retrieve the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'id': 'string',
            'name': 'string',
            'arn': 'string',
            'profileId': 'string',
            'profileName': 'string',
            'extensionId': 'string',
            'extensionDisplayName': 'string',
            'versionPolicy': {
                'updateStrategy': 'AUTOMATIC'|'MANUAL',
                'versionSelector': 'string'
            },
            'resolvedVersion': 'string',
            'latestVersion': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    A page of profile entries.

    • items (list) --

      The profile entries in this page of results.

      • (dict) --

        A summary of one profile entry.

        • id (string) --

          The service-generated id of the profile entry.

        • name (string) --

          The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

        • arn (string) --

          The Amazon Resource Name (ARN) of the profile entry.

        • profileId (string) --

          The id of the profile this entry belongs to.

        • profileName (string) --

          The name of the profile this entry belongs to.

        • extensionId (string) --

          The id of the extension this entry references, such as aws:secretsmanager.

        • extensionDisplayName (string) --

          The display name of the extension this entry references.

        • versionPolicy (dict) --

          Controls which extension version this entry tracks and how it adopts new releases.

          • updateStrategy (string) --

            The update strategy to use when a new extension version is available.

          • versionSelector (string) --

            An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

        • resolvedVersion (string) --

          The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

        • latestVersion (string) --

          The extension's latest released version, whether or not the entry's version policy selects it.

        • createdAt (datetime) --

          When the profile entry was created.

        • updatedAt (datetime) --

          When the profile entry was last updated. Equal to createdAt until the first update.

    • nextToken (string) --

      A token to retrieve the next page of results. Absent when there are no more results.

ListExtensions (new) Link ¶

Lists released extensions. Returns the latest version of each extension.

See also: AWS API Documentation

Request Syntax

client.list_extensions(
    maxResults=123,
    nextToken='string'
)
type maxResults:

integer

param maxResults:

The maximum number of extensions to return in one page.

type nextToken:

string

param nextToken:

The token returned by a previous call, to retrieve the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'id': 'string',
            'displayName': 'string',
            'arn': 'string',
            'version': 'string',
            'overview': 'string',
            'documentationLink': 'string',
            'releaseNotes': 'string',
            'releasedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    A page of extensions.

    • items (list) --

      The latest version of each extension in this page of results.

      • (dict) --

        A summary of one extension version.

        • id (string) --

          The extension's id, in the form namespace:name, such as aws:secretsmanager.

        • displayName (string) --

          The extension's display name.

        • arn (string) --

          The Amazon Resource Name (ARN) of the extension.

        • version (string) --

          The semantic version of this release.

        • overview (string) --

          A short summary of what the extension does, suitable for a catalog listing.

        • documentationLink (string) --

          A link to external documentation for this extension.

        • releaseNotes (string) --

          Author-provided notes describing what changed in this release.

        • releasedAt (datetime) --

          The timestamp when this version was released.

    • nextToken (string) --

      A token to retrieve the next page of results. Absent when there are no more results.

UntagResource (new) Link ¶

Removes tags from a profile or profile entry.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The ARN of the profile or profile entry to remove tags from.

type tagKeys:

list

param tagKeys:

[REQUIRED]

The keys of the tags to remove.

  • (string) --

    The key of a tag.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

CreateProfile (new) Link ¶

Creates a new profile. The profile name must be unique within the account.

See also: AWS API Documentation

Request Syntax

client.create_profile(
    clientToken='string',
    name='string',
    description='string',
    extensionDefaults={
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {}
                    ,
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    },
    tags={
        'string': 'string'
    }
)
type clientToken:

string

param clientToken:

A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.

This field is autopopulated if not provided.

type name:

string

param name:

[REQUIRED]

The name of the profile. Must be unique within the account.

type description:

string

param description:

A human-readable description of the profile's purpose or target environment.

type extensionDefaults:

dict

param extensionDefaults:

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

  • executionRole (string) --

    The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

  • interfaceDefaults (dict) --

    Default options for the interfaces of the extensions in this profile, by interface type.

    • http (dict) --

      Default options for HTTP interfaces.

      • authentication (dict) --

        The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

        • none (boolean) --

          Whether clients may interact with the extension interface without authenticating.

        • runtimeCredentials (dict) --

          Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

        • extensionKey (dict) --

          Clients sign requests with SigV4 using a key the service issues.

          • accessKeyId (string) --

            The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

          • secretKey (dict) --

            The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

            • literal (string) --

              The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

            • reference (string) --

              The ARN of a Secrets Manager secret holding the secret key.

type tags:

dict

param tags:

Tags to assign to the profile.

  • (string) --

    The key of the tag.

    • (string) --

      The value of the tag.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'entryCount': 123,
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'description': 'string',
    'extensionDefaults': {
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    }
}

Response Structure

  • (dict) --

    A profile represents a deployment target — the configuration context in which extensions run. Profiles own profile entries that bind specific extensions to the profile's execution environment.

    • id (string) --

      The service-generated id of the profile.

    • name (string) --

      The name of the profile.

    • arn (string) --

      The Amazon Resource Name (ARN) of the profile.

    • entryCount (integer) --

      The number of entries in this profile.

    • createdAt (datetime) --

      When the profile was created.

    • updatedAt (datetime) --

      When the profile was last updated. Equal to createdAt until the first update.

    • description (string) --

      A human-readable description of this profile's purpose or target environment.

    • extensionDefaults (dict) --

      Default values used by the extensions in this profile. These can be overridden at the profile entry level.

      • executionRole (string) --

        The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      • interfaceDefaults (dict) --

        Default options for the interfaces of the extensions in this profile, by interface type.

        • http (dict) --

          Default options for HTTP interfaces.

          • authentication (dict) --

            The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

            • none (boolean) --

              Whether clients may interact with the extension interface without authenticating.

            • runtimeCredentials (dict) --

              Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

            • extensionKey (dict) --

              Clients sign requests with SigV4 using a key the service issues.

              • accessKeyId (string) --

                The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

              • secretKey (dict) --

                The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                • literal (string) --

                  The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                • reference (string) --

                  The ARN of a Secrets Manager secret holding the secret key.

ListTagsForResource (new) Link ¶

Lists the tags on a profile or profile entry.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceArn='string'
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The ARN of the profile or profile entry whose tags to list.

rtype:

dict

returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • tags (dict) --

      The resource's tags.

      • (string) --

        The key of the tag.

        • (string) --

          The value of the tag.

TagResource (new) Link ¶

Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The ARN of the profile or profile entry to tag.

type tags:

dict

param tags:

[REQUIRED]

The tags to add or replace.

  • (string) --

    The key of the tag.

    • (string) --

      The value of the tag.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListExtensionVersions (new) Link ¶

Lists the released versions of an extension, newest first, optionally filtered by a version selector.

See also: AWS API Documentation

Request Syntax

client.list_extension_versions(
    identifier='string',
    versionSelector='string',
    maxResults=123,
    nextToken='string'
)
type identifier:

string

param identifier:

[REQUIRED]

The id of the extension whose versions to list.

type versionSelector:

string

param versionSelector:

Optional selector that limits the results to matching versions, such as 1.x.x.

type maxResults:

integer

param maxResults:

The maximum number of versions to return in one page.

type nextToken:

string

param nextToken:

The token returned by a previous call, to retrieve the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'id': 'string',
            'displayName': 'string',
            'arn': 'string',
            'version': 'string',
            'overview': 'string',
            'documentationLink': 'string',
            'releaseNotes': 'string',
            'releasedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    A page of extension versions.

    • items (list) --

      The versions in this page of results, newest first.

      • (dict) --

        A summary of one extension version.

        • id (string) --

          The extension's id, in the form namespace:name, such as aws:secretsmanager.

        • displayName (string) --

          The extension's display name.

        • arn (string) --

          The Amazon Resource Name (ARN) of the extension.

        • version (string) --

          The semantic version of this release.

        • overview (string) --

          A short summary of what the extension does, suitable for a catalog listing.

        • documentationLink (string) --

          A link to external documentation for this extension.

        • releaseNotes (string) --

          Author-provided notes describing what changed in this release.

        • releasedAt (datetime) --

          The timestamp when this version was released.

    • nextToken (string) --

      A token to retrieve the next page of results. Absent when there are no more results.

CreateProfileEntry (new) Link ¶

Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.

See also: AWS API Documentation

Request Syntax

client.create_profile_entry(
    profileIdentifier='string',
    clientToken='string',
    extensionIdentifier='string',
    name='string',
    description='string',
    interfaces={
        'string': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {}
                    ,
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                },
                'basePath': 'string'
            }
        }
    },
    executionRole='string',
    versionPolicy={
        'updateStrategy': 'AUTOMATIC'|'MANUAL',
        'versionSelector': 'string'
    },
    settings={...}|[...]|123|123.4|'string'|True|None,
    approve=[
        'string',
    ],
    tags={
        'string': 'string'
    }
)
type profileIdentifier:

string

param profileIdentifier:

[REQUIRED]

The identifier (id or name) of the profile to bind the extension to.

type clientToken:

string

param clientToken:

A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.

This field is autopopulated if not provided.

type extensionIdentifier:

string

param extensionIdentifier:

[REQUIRED]

The id of the extension to bind, such as aws:secretsmanager.

type name:

string

param name:

The entry's name, unique within the profile. Defaults to the name in the extension's id.

type description:

string

param description:

A description of the entry's purpose.

type interfaces:

dict

param interfaces:

Per-interface options, keyed by the id of an interface the extension declares.

  • (string) --

    The id of an interface the extension declares.

    • (dict) --

      The options for the interface.

      • http (dict) --

        Options for an HTTP interface.

        • authentication (dict) --

          How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.

          • none (boolean) --

            Whether clients may interact with the extension interface without authenticating.

          • runtimeCredentials (dict) --

            Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

          • extensionKey (dict) --

            Clients sign requests with SigV4 using a key the service issues.

            • accessKeyId (string) --

              The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

            • secretKey (dict) --

              The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

              • literal (string) --

                The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

              • reference (string) --

                The ARN of a Secrets Manager secret holding the secret key.

        • basePath (string) --

          The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

type executionRole:

string

param executionRole:

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

type versionPolicy:

dict

param versionPolicy:

Controls which extension version this entry tracks and how it adopts new releases.

  • updateStrategy (string) --

    The update strategy to use when a new extension version is available.

  • versionSelector (string) --

    An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

type settings:

:ref:`document<document>`

param settings:

The setting values to use for this extension, as free-form JSON. Keys are the extension's setting ids and the values are validated against the extension's settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.

type approve:

list

param approve:

A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.

  • (string) --

    The path of a capability declared by the extension.

type tags:

dict

param tags:

Tags to assign to the profile entry.

  • (string) --

    The key of the tag.

    • (string) --

      The value of the tag.

rtype:

dict

returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'profileId': 'string',
    'profileName': 'string',
    'extensionId': 'string',
    'extensionDisplayName': 'string',
    'versionPolicy': {
        'updateStrategy': 'AUTOMATIC'|'MANUAL',
        'versionSelector': 'string'
    },
    'resolvedVersion': 'string',
    'latestVersion': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'executionRole': 'string',
    'description': 'string',
    'effectiveSettings': {...}|[...]|123|123.4|'string'|True|None,
    'approvedCapabilities': {
        'string': {
            'filesystem': {
                'directory': 'string',
                'paths': [
                    'string',
                ],
                'accessMode': 'READ_ONLY'|'READ_WRITE',
                'createMode': 'PRIVATE'|'PUBLIC'
            },
            'aws': {
                'services': {
                    'string': [
                        'string',
                    ]
                }
            },
            'exec': {
                'command': 'string',
                'args': [
                    'string',
                ],
                'timeoutInSeconds': 123
            }
        }
    },
    'inherited': {
        'executionRole': 'string',
        'interfaceDefaults': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                }
            }
        }
    },
    'interfaces': {
        'string': {
            'http': {
                'authentication': {
                    'none': True|False,
                    'runtimeCredentials': {},
                    'extensionKey': {
                        'accessKeyId': 'string',
                        'secretKey': {
                            'literal': 'string',
                            'reference': 'string'
                        }
                    }
                },
                'basePath': 'string'
            }
        }
    }
}

Response Structure

  • (dict) --

    A profile entry binds an extension to a profile, defining which version to track and how the extension is configured for that deployment context. Each profile can have one entry per extension.

    • id (string) --

      The service-generated id of the profile entry.

    • name (string) --

      The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

    • arn (string) --

      The Amazon Resource Name (ARN) of the profile entry.

    • profileId (string) --

      The id of the profile this entry belongs to.

    • profileName (string) --

      The name of the profile this entry belongs to.

    • extensionId (string) --

      The id of the extension this entry references, such as aws:secretsmanager.

    • extensionDisplayName (string) --

      The display name of the extension this entry references.

    • versionPolicy (dict) --

      Controls which extension version this entry tracks and how it adopts new releases.

      • updateStrategy (string) --

        The update strategy to use when a new extension version is available.

      • versionSelector (string) --

        An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

    • resolvedVersion (string) --

      The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

    • latestVersion (string) --

      The extension's latest released version, whether or not the entry's version policy selects it.

    • createdAt (datetime) --

      When the profile entry was created.

    • updatedAt (datetime) --

      When the profile entry was last updated. Equal to createdAt until the first update.

    • executionRole (string) --

      The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

    • description (string) --

      A description of the entry's purpose.

    • effectiveSettings (:ref:`document<document>`) --

      The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.

    • approvedCapabilities (dict) --

      A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

      • (string) --

        The path of an approved capability.

        • (dict) --

          The approved specification of the capability.

          • filesystem (dict) --

            Access to the host filesystem.

            • directory (string) --

              A base directory path. If provided, grants access to this directory and its contents.

            • paths (list) --

              Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

              • (string) --

                A file path to grant access to.

            • accessMode (string) --

              The level of filesystem access requested.

            • createMode (string) --

              Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

          • aws (dict) --

            Permission to call AWS service APIs.

            • services (dict) --

              A map of AWS service names to the list of API operations the extension is allowed to invoke.

              • (string) --

                The name of an AWS service.

                • (list) --

                  The API operations of the service the extension is allowed to invoke.

                  • (string) --

                    The name of an API operation.

          • exec (dict) --

            Permission to execute a host command.

            • command (string) --

              The command to execute.

            • args (list) --

              Arguments passed to the command.

              • (string) --

                An argument passed to the command.

            • timeoutInSeconds (integer) --

              Maximum time in seconds the command is allowed to run before being terminated.

    • inherited (dict) --

      The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.

      • executionRole (string) --

        The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      • interfaceDefaults (dict) --

        Default options for the interfaces of the extensions in this profile, by interface type.

        • http (dict) --

          Default options for HTTP interfaces.

          • authentication (dict) --

            The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

            • none (boolean) --

              Whether clients may interact with the extension interface without authenticating.

            • runtimeCredentials (dict) --

              Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

            • extensionKey (dict) --

              Clients sign requests with SigV4 using a key the service issues.

              • accessKeyId (string) --

                The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

              • secretKey (dict) --

                The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                • literal (string) --

                  The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                • reference (string) --

                  The ARN of a Secrets Manager secret holding the secret key.

    • interfaces (dict) --

      Per-interface options for this entry, keyed by the id of an interface the extension declares.

      • (string) --

        The id of an interface the extension declares.

        • (dict) --

          The options for the interface.

          • http (dict) --

            Options for an HTTP interface.

            • authentication (dict) --

              How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.

              • none (boolean) --

                Whether clients may interact with the extension interface without authenticating.

              • runtimeCredentials (dict) --

                Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

              • extensionKey (dict) --

                Clients sign requests with SigV4 using a key the service issues.

                • accessKeyId (string) --

                  The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

                • secretKey (dict) --

                  The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

                  • literal (string) --

                    The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

                  • reference (string) --

                    The ARN of a Secrets Manager secret holding the secret key.

            • basePath (string) --

              The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.